From b652fc821253a36298c24986be277744b220e80b Mon Sep 17 00:00:00 2001 From: "hans@chromium.org" Date: Mon, 23 May 2011 07:53:05 +0000 Subject: 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 --- chrome/app/generated_resources.grd | 6 ++++++ chrome/browser/about_flags.cc | 7 +++++++ chrome/tools/chromeactions.txt | 1 + 3 files changed, 14 insertions(+) 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 Restrict Instant to loading only search pages. + + IndexedDB use LevelDB. + + + Enable the experimental LevelDB back-end for IndexedDB. + 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 -- cgit v1.1