• Xi Cheng's avatar
    Clean up chrome_switches.{h,cc} and move to lib "non_code_constants" · c70d2d70
    Xi Cheng authored
    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: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: Xi Cheng <chengx@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#538941}
    c70d2d70
chrome_switches.h 13.1 KB