Clean up chrome_switches.{h,cc} and move to lib "non_code_constants"
This CL consists of the following changes: 1) Remove function PowerOverlayEnabled() which is not used. 2) Remove function ExtensionsDisabled() which is not used. 3) Move ExtensionsDisabled(base::CommandLine) to chrome_extensions_browser_client.cc, which is the only call site. 4) Move chrome_switches.{h,cc} to lib "non_code_constants", as they don't contain any functions now. After this change, including "chrome_switches.h" (and "chrome_constants.h") only requires a dependence on lib "non_code_constants", rather than lib "constants" which is overkill. This applies to notification_helper which only includes "chrome_switches.h" and "chrome_constants.h" under chrome/common. Bug: 734095 Change-Id: I3be5ffff70e9f594989c2058dca0ef109eabf085 Reviewed-on: https://chromium-review.googlesource.com/930368Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Xi Cheng <chengx@chromium.org> Cr-Commit-Position: refs/heads/master@{#538941}
Showing
Please register or sign in to comment