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

Unified Diff: chrome/installer/mac/app/InstallerWindowController.m

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: Rebased 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
« no previous file with comments | « chrome/installer/mac/app/InstallerWindowController.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/mac/app/InstallerWindowController.m
diff --git a/chrome/installer/mac/app/InstallerWindowController.m b/chrome/installer/mac/app/InstallerWindowController.m
index 8fab0f8ed3e0f484a5f7eaa33918baa78cde009a..ebd2f4788ae6328d13885d760d9e53fe592b32e0 100644
--- a/chrome/installer/mac/app/InstallerWindowController.m
+++ b/chrome/installer/mac/app/InstallerWindowController.m
@@ -138,4 +138,12 @@
[NSApp terminate:nil];
}
+- (BOOL)isUserMetricsChecked {
+ return optInButton_.state == NSOnState;
+}
+
+- (BOOL)isDefaultBrowserChecked {
+ return defaultBrowserButton_.state == NSOnState;
+}
+
@end
« no previous file with comments | « chrome/installer/mac/app/InstallerWindowController.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698