Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2217)

Unified Diff: extensions/common/feature_switch.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/test_extensions_browser_client.cc ('k') | gpu/command_buffer/service/feature_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/feature_switch.h
diff --git a/extensions/common/feature_switch.h b/extensions/common/feature_switch.h
index 40143d631809622645371d845aa8833c7f87e33e..90db74a315406f7fff8ccd0d00df4891a9e2a476 100644
--- a/extensions/common/feature_switch.h
+++ b/extensions/common/feature_switch.h
@@ -9,7 +9,9 @@
#include "base/basictypes.h"
+namespace base {
class CommandLine;
+}
namespace extensions {
@@ -50,7 +52,7 @@ class FeatureSwitch {
// by the default and override values.
FeatureSwitch(const char* switch_name,
DefaultValue default_value);
- FeatureSwitch(const CommandLine* command_line,
+ FeatureSwitch(const base::CommandLine* command_line,
const char* switch_name,
DefaultValue default_value);
@@ -61,14 +63,14 @@ class FeatureSwitch {
bool IsEnabled() const;
private:
- void Init(const CommandLine* command_line,
+ void Init(const base::CommandLine* command_line,
const char* switch_name,
DefaultValue default_value);
std::string GetLegacyEnableFlag() const;
std::string GetLegacyDisableFlag() const;
- const CommandLine* command_line_;
+ const base::CommandLine* command_line_;
const char* switch_name_;
bool default_value_;
OverrideValue override_value_;
« no previous file with comments | « extensions/browser/test_extensions_browser_client.cc ('k') | gpu/command_buffer/service/feature_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698