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/command_line.h" |
9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
10 #include "base/environment.h" | 11 #include "base/environment.h" |
11 #include "base/event_recorder.h" | 12 #include "base/event_recorder.h" |
12 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/metrics/histogram.h" | 15 #include "base/metrics/histogram.h" |
15 #include "base/metrics/statistics_recorder.h" | 16 #include "base/metrics/statistics_recorder.h" |
16 #include "base/path_service.h" | 17 #include "base/path_service.h" |
17 #include "base/string_number_conversions.h" | 18 #include "base/string_number_conversions.h" |
18 #include "base/string_split.h" | 19 #include "base/string_split.h" |
(...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
939 // New: | 940 // New: |
940 prefs->GetString(prefs::kHomePage), | 941 prefs->GetString(prefs::kHomePage), |
941 prefs->GetBoolean(prefs::kHomePageIsNewTabPage), | 942 prefs->GetBoolean(prefs::kHomePageIsNewTabPage), |
942 prefs->GetBoolean(prefs::kShowHomeButton), | 943 prefs->GetBoolean(prefs::kShowHomeButton), |
943 // Backup: | 944 // Backup: |
944 backup_homepage, | 945 backup_homepage, |
945 backup_homepage_is_ntp, | 946 backup_homepage_is_ntp, |
946 backup_show_home_button)); | 947 backup_show_home_button)); |
947 } | 948 } |
948 } | 949 } |
OLD | NEW |