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

Unified Diff: chrome/browser/about_flags.cc

Issue 2846913002: Add a Certificate Viewer link to the Page Info dropdown (Closed)
Patch Set: Address nits Created 3 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
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index d9a048eea033df659f8cee2ab3ce9477fec9a181..2efeaa1b3694bf54b6ce6cdc81bf5ec37b667cec 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2571,7 +2571,7 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kTouchscreenCalibrationName,
flag_descriptions::kTouchscreenCalibrationDescription, kOsCrOS,
SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchCalibrationSetting)},
-#endif // defined(OS_CHROMEOS)
+#endif // defined(OS_CHROMEOS)
lgarron 2017/04/28 23:16:43 Nit: Still unrelated. (Same below.)
elawrence 2017/04/29 12:38:58 I've malformed this again.
#if defined(OS_WIN)
{"gdi-text-printing", flag_descriptions::kGdiTextPrinting,
@@ -2586,14 +2586,14 @@ const FeatureEntry kFeatureEntries[] = {
{"show-arc-files-app", flag_descriptions::kShowArcFilesAppName,
flag_descriptions::kShowArcFilesAppDescription, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kShowArcFilesAppFeature)},
-#endif // defined(OS_CHROMEOS)
+#endif // defined(OS_CHROMEOS)
#if defined(OS_CHROMEOS)
{"force-enable-stylus-tools",
flag_descriptions::kForceEnableStylusToolsName,
flag_descriptions::kForceEnableStylusToolsDescription, kOsCrOS,
SINGLE_VALUE_TYPE(ash::switches::kAshForceEnablePalette)},
-#endif // defined(OS_CHROMEOS)
+#endif // defined(OS_CHROMEOS)
{"enable-midi-manager-dynamic-instantiation",
flag_descriptions::kEnableMidiManagerDynamicInstantiationName,
@@ -2765,6 +2765,12 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kAutoplayPolicyDescription, kOsAll,
MULTI_VALUE_TYPE(kAutoplayPolicyChoices)},
+#if defined(TOOLKIT_VIEWS) || (defined(OS_MACOSX) && !defined(OS_IOS))
+ {"show-cert-link", flag_descriptions::kShowCertLinkOnPageInfoName,
+ flag_descriptions::kShowCertLinkOnPageInfoDescription, kOsDesktop,
+ SINGLE_VALUE_TYPE(switches::kShowCertLink)},
+#endif
+
// 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.

Powered by Google App Engine
This is Rietveld 408576698