summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-23 07:53:05 +0000
committerhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-23 07:53:05 +0000
commitb652fc821253a36298c24986be277744b220e80b (patch)
treecb073fe2674f44026eb494a5acc78e18a0843526
parente9fe9d25859a021682938d5302be2458480843d9 (diff)
downloadchromium_src-b652fc821253a36298c24986be277744b220e80b.zip
chromium_src-b652fc821253a36298c24986be277744b220e80b.tar.gz
chromium_src-b652fc821253a36298c24986be277744b220e80b.tar.bz2
Add indexeddb-use-leveldb to about:flags.
BUG=83354 TEST=none Review URL: http://codereview.chromium.org/7038036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86263 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/app/generated_resources.grd6
-rw-r--r--chrome/browser/about_flags.cc7
-rw-r--r--chrome/tools/chromeactions.txt1
3 files changed, 14 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 69c48dc..c2e57e1 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -4272,6 +4272,12 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_DESCRIPTION" desc="Description for the flag to restrict Instant to search">
Restrict Instant to loading only search pages.
</message>
+ <message name="IDS_FLAGS_INDEXEDDB_USE_LEVELDB_NAME" desc="Title for the flag to use the LevelDB back-end for IndexedDB">
+ IndexedDB use LevelDB.
+ </message>
+ <message name="IDS_FLAGS_INDEXEDDB_USE_LEVELDB_DESCRIPTION" desc="Description for the flag to use the LevelDB back-end for IndexedDB">
+ Enable the experimental LevelDB back-end for IndexedDB.
+ </message>
<!-- Crashes -->
<message name="IDS_CRASHES_TITLE" desc="Title for the chrome://crashes page.">
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 90a5c38..827a6fe 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -325,6 +325,13 @@ const Experiment kExperiments[] = {
kOsAll,
SINGLE_VALUE_TYPE(switches::kRestrictInstantToSearch)
},
+ {
+ "indexeddb-use-leveldb", // FLAGS:RECORD_UMA
+ IDS_FLAGS_INDEXEDDB_USE_LEVELDB_NAME,
+ IDS_FLAGS_INDEXEDDB_USE_LEVELDB_DESCRIPTION,
+ kOsAll,
+ SINGLE_VALUE_TYPE(switches::kLevelDBIndexedDatabase)
+ },
};
const Experiment* experiments = kExperiments;
diff --git a/chrome/tools/chromeactions.txt b/chrome/tools/chromeactions.txt
index 6059010..f5b7c27 100644
--- a/chrome/tools/chromeactions.txt
+++ b/chrome/tools/chromeactions.txt
@@ -14,6 +14,7 @@
0x2c97f94b6aca4a22 AboutFlags_extension-apis
0x3a73624e6d06ac2e AboutFlags_focus-existing-tab-on-open
0x66a2e456dfe783d3 AboutFlags_gpu-canvas-2d
+0x0a1b6a5d816fde03 AboutFlags_indexeddb-use-leveldb
0x6cb0582a680ffec6 AboutFlags_instant-autocomplete-immediately
0x67b7031bb00a6917 AboutFlags_instant-type
0x681dbf08b11af420 AboutFlags_match-preview