OLD | NEW |
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 "chrome/browser/prefs/pref_service.h" | 7 #include "base/prefs/pref_service.h" |
8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
9 #include "chrome/browser/shell_integration.h" | 9 #include "chrome/browser/shell_integration.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
11 #include "chrome/browser/ui/browser_finder.h" | 11 #include "chrome/browser/ui/browser_finder.h" |
12 #include "chrome/browser/ui/webui/set_as_default_browser_ui.h" | 12 #include "chrome/browser/ui/webui/set_as_default_browser_ui.h" |
13 #include "chrome/common/pref_names.h" | 13 #include "chrome/common/pref_names.h" |
14 #include "chrome/common/startup_metric_utils.h" | 14 #include "chrome/common/startup_metric_utils.h" |
15 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
16 #include "content/public/browser/notification_service.h" | 16 #include "content/public/browser/notification_service.h" |
17 #include "content/public/browser/notification_types.h" | 17 #include "content/public/browser/notification_types.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 if (show_status) { | 82 if (show_status) { |
83 startup_metric_utils::SetNonBrowserUIDisplayed(); | 83 startup_metric_utils::SetNonBrowserUIDisplayed(); |
84 SetMetroBrowserFlowLauncher::LaunchSoon(profile); | 84 SetMetroBrowserFlowLauncher::LaunchSoon(profile); |
85 } | 85 } |
86 | 86 |
87 return show_status; | 87 return show_status; |
88 } | 88 } |
89 | 89 |
90 } // namespace chrome | 90 } // namespace chrome |
OLD | NEW |