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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 1657933003: Fixes the interactive default browser UX for policy setting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 4dff7d21b77a67d1f32b9341df3c6f13af5c67a6..3fc68160c5bc8b85bd2244baa3bf38b9d5a4b684 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -1195,8 +1195,8 @@ void BrowserProcessImpl::CreateGCMDriver() {
void BrowserProcessImpl::ApplyDefaultBrowserPolicy() {
if (local_state()->GetBoolean(prefs::kDefaultBrowserSettingEnabled)) {
- scoped_refptr<ShellIntegration::DefaultWebClientWorker>
- set_browser_worker = new ShellIntegration::DefaultBrowserWorker(NULL);
+ scoped_refptr<ShellIntegration::DefaultWebClientWorker> set_browser_worker =
+ new ShellIntegration::DefaultBrowserWorker(NULL, false, false);
grt (UTC plus 2) 2016/02/02 17:28:22 nit: NULL -> nullptr while you're here
Patrick Monette 2016/02/02 22:24:15 Done.
set_browser_worker->StartSetAsDefault();
}
}
« no previous file with comments | « no previous file | chrome/browser/custom_handlers/protocol_handler_registry.h » ('j') | chrome/browser/shell_integration.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698