OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/startup_tab_provider.h" | 5 #include "chrome/browser/ui/startup/startup_tab_provider.h" |
6 | 6 |
7 #include "base/metrics/histogram_macros.h" | 7 #include "base/metrics/histogram_macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/browser/first_run/first_run.h" | 9 #include "chrome/browser/first_run/first_run.h" |
10 #include "chrome/browser/profile_resetter/triggered_profile_resetter.h" | 10 #include "chrome/browser/profile_resetter/triggered_profile_resetter.h" |
11 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h" | 11 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h" |
12 #include "chrome/browser/signin/signin_manager_factory.h" | 12 #include "chrome/browser/signin/signin_manager_factory.h" |
13 #include "chrome/browser/ui/browser.h" | 13 #include "chrome/browser/ui/browser.h" |
14 #include "chrome/browser/ui/browser_list.h" | 14 #include "chrome/browser/ui/browser_list.h" |
15 #include "chrome/browser/ui/chrome_pages.h" | 15 #include "chrome/browser/ui/chrome_pages.h" |
16 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" | 16 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" |
17 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 17 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
18 #include "chrome/common/pref_names.h" | 18 #include "chrome/common/pref_names.h" |
19 #include "chrome/common/url_constants.h" | 19 #include "chrome/common/url_constants.h" |
20 #include "chrome/grit/locale_settings.h" | |
21 #include "components/prefs/pref_service.h" | 20 #include "components/prefs/pref_service.h" |
22 #include "components/signin/core/browser/signin_manager.h" | 21 #include "components/signin/core/browser/signin_manager.h" |
23 #include "net/base/url_util.h" | 22 #include "net/base/url_util.h" |
24 #include "ui/base/l10n/l10n_util.h" | 23 #include "ui/base/l10n/l10n_util.h" |
25 | 24 |
26 #if defined(OS_WIN) | 25 #if defined(OS_WIN) |
27 #include "base/win/windows_version.h" | 26 #include "base/win/windows_version.h" |
28 #include "chrome/browser/browser_process.h" | 27 #include "chrome/browser/browser_process.h" |
29 #include "chrome/browser/shell_integration.h" | 28 #include "chrome/browser/shell_integration.h" |
30 #endif | 29 #endif |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 ? net::AppendQueryParameter(url, "text", "faster") | 263 ? net::AppendQueryParameter(url, "text", "faster") |
265 : url; | 264 : url; |
266 } | 265 } |
267 #endif | 266 #endif |
268 | 267 |
269 // static | 268 // static |
270 GURL StartupTabProviderImpl::GetTriggeredResetSettingsUrl() { | 269 GURL StartupTabProviderImpl::GetTriggeredResetSettingsUrl() { |
271 return GURL( | 270 return GURL( |
272 chrome::GetSettingsUrl(chrome::kTriggeredResetProfileSettingsSubPage)); | 271 chrome::GetSettingsUrl(chrome::kTriggeredResetProfileSettingsSubPage)); |
273 } | 272 } |
OLD | NEW |