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

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: wow! flags are added faster! two more added since I uploaded this CL yesterday 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
« no previous file with comments | « 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 f4579115c7dca9a218b9913dec120ac42d4dbae2..16d8f3a03991e907c13ebc3a9759ed0818487160 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -225,6 +225,12 @@ const Experiment::Choice kMaxTilesForInterestAreaChoices[] = {
cc::switches::kMaxTilesForInterestArea, "512"}
};
+const Experiment::Choice kSimpleCacheBackendChoices[] = {
+ { 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
@@ -1318,6 +1324,13 @@ const Experiment kExperiments[] = {
SINGLE_VALUE_TYPE(keyboard::switches::kEnableVirtualKeyboard)
},
#endif
+ {
+ "enable-simple-cache-backend",
+ IDS_FLAGS_ENABLE_SIMPLE_CACHE_BACKEND_NAME,
+ IDS_FLAGS_ENABLE_SIMPLE_CACHE_BACKEND_DESCRIPTION,
+ kOsAndroid,
+ MULTI_VALUE_TYPE(kSimpleCacheBackendChoices)
+ },
};
const Experiment* experiments = kExperiments;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698