summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 06:53:07 +0000
committerlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 06:53:07 +0000
commit6a2fe92c213df4829fab5310b179b56ea134c8ab (patch)
treee29bd40fe59d47dd5abb54faba0511707fcefec1 /chrome/common
parent65b195354cd54528cf973c60d49dfbdd7e5690d8 (diff)
downloadchromium_src-6a2fe92c213df4829fab5310b179b56ea134c8ab.zip
chromium_src-6a2fe92c213df4829fab5310b179b56ea134c8ab.tar.gz
chromium_src-6a2fe92c213df4829fab5310b179b56ea134c8ab.tar.bz2
Add command line switch to guard the search provider api additions in progress.
BUG=38475 TEST=None (Nothing to test yet.) Review URL: http://codereview.chromium.org/2873044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52455 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_switches.cc4
-rw-r--r--chrome/common/chrome_switches.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 6160ad7..e527bc52 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -360,6 +360,10 @@ const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching";
// Enable print preview (work in progress).
const char kEnablePrintPreview[] = "enable-print-preview";
+// Enable the IsSearchProviderInstalled and InstallSearchProvider with an extra
+// parameter to indicate if the provider should be the default.
+const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2";
+
// Enables StatsTable, logging statistics to a global named shared memory table.
const char kEnableStatsTable[] = "enable-stats-table";
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index aef8cbb..495994d 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -116,6 +116,7 @@ extern const char kEnableNativeWebWorkers[];
extern const char kEnablePreparsedJsCaching[];
extern const char kEnablePreconnect[];
extern const char kEnablePrintPreview[];
+extern const char kEnableSearchProviderApiV2[];
extern const char kEnableStatsTable[];
extern const char kEnableSync[];
extern const char kEnableSyncAutofill[];