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

Unified Diff: chrome/browser/about_flags.cc

Issue 13862014: Add Simple Cache choice to about:flags (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebased to avoid conflicts Created 7 years, 8 months 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
« chrome/app/generated_resources.grd ('K') | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 0e87ccf3aad24747016c90631dc95e9b893de46b..bd8dd7e4ce0fe542e565babae1fc202d0df8d227 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -224,6 +224,12 @@ const Experiment::Choice kMaxTilesForInterestAreaChoices[] = {
cc::switches::kMaxTilesForInterestArea, "512"}
};
+const Experiment::Choice kSimpleCacheBackendChoices[] = {
rvargas (doing something else) 2013/04/09 19:02:47 This should only be there for Android
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, "", "off" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
+ switches::kUseSimpleCacheBackend, "on"}
+};
+
// RECORDING USER METRICS FOR FLAGS:
// -----------------------------------------------------------------------------
// The first line of the experiment is the internal name. If you'd like to
@@ -1308,6 +1314,13 @@ const Experiment kExperiments[] = {
kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableTranslateAlphaLanguages)
},
+ {
+ "enable-simple-cache-backend",
+ IDS_FLAGS_ENABLE_SIMPLE_CACHE_BACKEND_NAME,
+ IDS_FLAGS_ENABLE_SIMPLE_CACHE_BACKEND_DESCRIPTION,
+ kOsAll,
+ MULTI_VALUE_TYPE(kSimpleCacheBackendChoices)
+ }
};
const Experiment* experiments = kExperiments;
« chrome/app/generated_resources.grd ('K') | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698