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

Unified Diff: extensions/common/feature_switch.cc

Issue 47923018: Move FeatureSwitch to top-level extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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/common/feature_switch.h ('k') | extensions/common/switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/feature_switch.cc
diff --git a/chrome/common/extensions/feature_switch.cc b/extensions/common/feature_switch.cc
similarity index 92%
rename from chrome/common/extensions/feature_switch.cc
rename to extensions/common/feature_switch.cc
index 2640f842efc6ce11f63054d812f54673e3e5f299..84a2d293eb7d4be40d3b3f9d5bb49f114ddc1302 100644
--- a/chrome/common/extensions/feature_switch.cc
+++ b/extensions/common/feature_switch.cc
@@ -2,13 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/common/extensions/feature_switch.h"
+#include "extensions/common/feature_switch.h"
#include "base/command_line.h"
#include "base/lazy_instance.h"
#include "base/metrics/field_trial.h"
#include "base/strings/string_util.h"
-#include "chrome/common/chrome_switches.h"
#include "extensions/common/switches.h"
namespace extensions {
@@ -19,19 +18,19 @@ class CommonSwitches {
public:
CommonSwitches()
: easy_off_store_install(
- ::switches::kEasyOffStoreExtensionInstall,
+ switches::kEasyOffStoreExtensionInstall,
FeatureSwitch::DEFAULT_DISABLED),
global_commands(
- ::switches::kGlobalCommands,
+ switches::kGlobalCommands,
FeatureSwitch::DEFAULT_DISABLED),
script_badges(
- ::switches::kScriptBadges,
+ switches::kScriptBadges,
FeatureSwitch::DEFAULT_DISABLED),
script_bubble(
- ::switches::kScriptBubble,
+ switches::kScriptBubble,
FeatureSwitch::DEFAULT_DISABLED),
prompt_for_external_extensions(
- ::switches::kPromptForExternalExtensions,
+ switches::kPromptForExternalExtensions,
#if defined(OS_WIN)
FeatureSwitch::DEFAULT_ENABLED),
#else
« no previous file with comments | « extensions/common/feature_switch.h ('k') | extensions/common/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698