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

Unified Diff: chrome/browser/about_flags.cc

Issue 314033002: Files.app: Flip the flag and enable MTP support by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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 | « no previous file | chrome/browser/chromeos/file_manager/volume_manager.cc » ('j') | 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 9ed95c20429c901bdd1d9404d8762a0208ddab4e..7ccab92136391fc9a2396e1a72eb967e40134c4d 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -427,6 +427,16 @@ const Experiment::Choice kMalwareInterstitialVersions[] = {
switches::kMalwareInterstitialVersionV3, "" },
};
+#if defined(OS_CHROMEOS)
+const Experiment::Choice kEnableFileManagerMTPChoices[] = {
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
+ chromeos::switches::kEnableFileManagerMTP, "true" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
+ chromeos::switches::kEnableFileManagerMTP, "false" }
+};
+#endif
+
// RECORDING USER METRICS FOR FLAGS:
// -----------------------------------------------------------------------------
// The first line of the experiment is the internal name. If you'd like to
@@ -1784,7 +1794,7 @@ const Experiment kExperiments[] = {
IDS_FLAGS_ENABLE_FILE_MANAGER_MTP_NAME,
IDS_FLAGS_ENABLE_FILE_MANAGER_MTP_DESCRIPTION,
kOsCrOS,
- SINGLE_VALUE_TYPE(chromeos::switches::kEnableFileManagerMTP)
+ MULTI_VALUE_TYPE(kEnableFileManagerMTPChoices)
},
#endif
// TODO(tyoshino): Remove this temporary flag and command line switch. See
« no previous file with comments | « no previous file | chrome/browser/chromeos/file_manager/volume_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698