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

Unified Diff: chrome/common/chrome_switches.cc

Issue 2270083002: Added in switches for the Mac Installer to send preferences to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cl5_review
Patch Set: Created 4 years, 4 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/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 65dd673f7dd641ce30d5e795a070a74200a34b10..9f874708026212f2b891b00789008041d3c16edf 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1156,6 +1156,9 @@ const char kDisableMacViewsNativeAppWindows[] =
// Disables Translate experimental new UX which replaces the infobar.
const char kDisableTranslateNewUX[] = "disable-translate-new-ux";
+// Enable user metrics from within the installer.
+const char kEnableUserMetrics[] = "enable-user-metrics";
+
// Enable the toolkit-views App Info dialog for Mac. This is accessible from
// chrome://apps and chrome://extensions and is already enabled on non-mac.
const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac";
@@ -1198,6 +1201,10 @@ const char kRelauncherProcess[] = "relauncher";
// image and move its disk image file to the trash. The argument's value must
// be a BSD device name of the form "diskN" or "diskNsM".
const char kRelauncherProcessDMGDevice[] = "dmg-device";
+
+// Indicates whether Chrome should be set as the default browser during
+// installation.
+const char kSetDefaultBrowser[] = "set-default";
#endif // defined(OS_MACOSX)
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698