Index: chrome/browser/about_flags.cc |
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc |
index 270e77c53747148e44d852628a5ebc2467d9c686..7d9bdc46eb3f1d4f1f23863524378de2c781761f 100644 |
--- a/chrome/browser/about_flags.cc |
+++ b/chrome/browser/about_flags.cc |
@@ -188,6 +188,16 @@ const Experiment::Choice kNaClDebugMaskChoices[] = { |
}; |
#endif |
+const Experiment::Choice kMarkNonSecureAsChoices[] = { |
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, |
+ { IDS_MARK_NON_SECURE_AS_NEUTRAL, |
+ switches::kMarkNonSecureAs, switches::kMarkNonSecureAsNeutral}, |
+ { IDS_MARK_NON_SECURE_AS_NON_SECURE, |
+ switches::kMarkNonSecureAs, switches::kMarkNonSecureAsNonSecure}, |
+ { IDS_MARK_NON_SECURE_AS_DUBIOUS, |
+ switches::kMarkNonSecureAs, switches::kMarkNonSecureAsDubious} |
+}; |
+ |
const Experiment::Choice kMaxTilesForInterestAreaChoices[] = { |
{ IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, |
{ IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_SHORT, |
@@ -2155,6 +2165,14 @@ const Experiment kExperiments[] = { |
SINGLE_VALUE_TYPE(switches::kEnableDelayAgnosticAec) |
}, |
+ { |
+ "mark-non-secure-as", // FLAGS:RECORD_UMA |
+ IDS_MARK_NON_SECURE_AS_NAME, |
+ IDS_MARK_NON_SECURE_AS_DESCRIPTION, |
+ kOsAll, |
+ MULTI_VALUE_TYPE(kMarkNonSecureAsChoices) |
+ }, |
+ |
// NOTE: Adding new command-line switches requires adding corresponding |
// entries to enum "LoginCustomFlags" in histograms.xml. See note in |
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. |