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/startup_browser_creator_impl.h" | 5 #include "chrome/browser/ui/startup/startup_browser_creator_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/environment.h" | 10 #include "base/environment.h" |
11 #include "base/event_recorder.h" | 11 #include "base/event_recorder.h" |
12 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
| 15 #include "base/metrics/statistics_recorder.h" |
15 #include "base/path_service.h" | 16 #include "base/path_service.h" |
16 #include "base/string_number_conversions.h" | 17 #include "base/string_number_conversions.h" |
17 #include "base/string_split.h" | 18 #include "base/string_split.h" |
18 #include "base/threading/thread_restrictions.h" | 19 #include "base/threading/thread_restrictions.h" |
19 #include "base/utf_string_conversions.h" | 20 #include "base/utf_string_conversions.h" |
20 #include "chrome/browser/auto_launch_trial.h" | 21 #include "chrome/browser/auto_launch_trial.h" |
21 #include "chrome/browser/browser_process.h" | 22 #include "chrome/browser/browser_process.h" |
22 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 23 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
23 #include "chrome/browser/defaults.h" | 24 #include "chrome/browser/defaults.h" |
24 #include "chrome/browser/extensions/extension_creator.h" | 25 #include "chrome/browser/extensions/extension_creator.h" |
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 // New: | 902 // New: |
902 prefs->GetString(prefs::kHomePage), | 903 prefs->GetString(prefs::kHomePage), |
903 prefs->GetBoolean(prefs::kHomePageIsNewTabPage), | 904 prefs->GetBoolean(prefs::kHomePageIsNewTabPage), |
904 prefs->GetBoolean(prefs::kShowHomeButton), | 905 prefs->GetBoolean(prefs::kShowHomeButton), |
905 // Backup: | 906 // Backup: |
906 backup_homepage, | 907 backup_homepage, |
907 backup_homepage_is_ntp, | 908 backup_homepage_is_ntp, |
908 backup_show_home_button)); | 909 backup_show_home_button)); |
909 } | 910 } |
910 } | 911 } |
OLD | NEW |