summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-02 20:09:16 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-02 20:09:16 +0000
commitaa9d4a9eab291ef35d6aed3fb390e0c7a76c8cc1 (patch)
tree94f7eb2d1e1277ab0a52fb9594b86c652af12acd /chrome/common/chrome_switches.cc
parent83421477bc9698c3f0c9de41764eb85dfc162ba7 (diff)
downloadchromium_src-aa9d4a9eab291ef35d6aed3fb390e0c7a76c8cc1.zip
chromium_src-aa9d4a9eab291ef35d6aed3fb390e0c7a76c8cc1.tar.gz
chromium_src-aa9d4a9eab291ef35d6aed3fb390e0c7a76c8cc1.tar.bz2
Adds the --enable-in-memory-url-index switch to gate creation and use of the InMemoryURLIndex.
BUG=19736 TEST=No change in behavior when flag is not used. Should not crash when flag is used. Review URL: http://codereview.chromium.org/2861041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 46f7c64..7905481 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -305,6 +305,10 @@ const char kEnableFileCookies[] = "enable-file-cookies";
// Enable the Indexed Database API.
const char kEnableIndexedDatabase[] = "enable-indexed-database";
+// Use the InMemoryURLIndex to back the HistoryURLProvider for autocomplete
+// results. If not set, defaults to using the InMemoryDatabase.
+const char kEnableInMemoryURLIndex[] = "enable-in-memory-url-index";
+
// Enable IPv6 support, even if probes suggest that it may not be fully
// supported. Some probes may require internet connections, and this flag will
// allow support independent of application testing.