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

Side by Side Diff: chrome/browser/ui/startup/default_browser_prompt_win.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/startup/default_browser_prompt.h" 5 #include "chrome/browser/ui/startup/default_browser_prompt.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/prefs/pref_service.h"
9 #include "base/win/windows_version.h" 8 #include "base/win/windows_version.h"
10 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/shell_integration.h" 10 #include "chrome/browser/shell_integration.h"
12 #include "chrome/browser/ui/browser.h" 11 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_finder.h" 12 #include "chrome/browser/ui/browser_finder.h"
14 #include "chrome/browser/ui/webui/set_as_default_browser_ui.h" 13 #include "chrome/browser/ui/webui/set_as_default_browser_ui.h"
14 #include "components/prefs/pref_service.h"
15 #include "components/startup_metric_utils/browser/startup_metric_utils.h" 15 #include "components/startup_metric_utils/browser/startup_metric_utils.h"
16 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
17 #include "content/public/browser/notification_service.h" 17 #include "content/public/browser/notification_service.h"
18 #include "content/public/browser/notification_types.h" 18 #include "content/public/browser/notification_types.h"
19 19
20 using content::BrowserThread; 20 using content::BrowserThread;
21 21
22 namespace { 22 namespace {
23 23
24 // Show the page prompting the user to make Chrome the default browser on 24 // Show the page prompting the user to make Chrome the default browser on
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 if (show_status) { 88 if (show_status) {
89 startup_metric_utils::SetNonBrowserUIDisplayed(); 89 startup_metric_utils::SetNonBrowserUIDisplayed();
90 SetMetroBrowserFlowLauncher::LaunchSoon(profile); 90 SetMetroBrowserFlowLauncher::LaunchSoon(profile);
91 } 91 }
92 92
93 return show_status; 93 return show_status;
94 } 94 }
95 95
96 } // namespace chrome 96 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698