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" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 #if defined(TOOLKIT_GTK) | 81 #if defined(TOOLKIT_GTK) |
82 #include "chrome/browser/ui/gtk/gtk_util.h" | 82 #include "chrome/browser/ui/gtk/gtk_util.h" |
83 #endif | 83 #endif |
84 | 84 |
85 #if defined(OS_WIN) | 85 #if defined(OS_WIN) |
86 #include "base/win/windows_version.h" | 86 #include "base/win/windows_version.h" |
87 #endif | 87 #endif |
88 | 88 |
89 using content::ChildProcessSecurityPolicy; | 89 using content::ChildProcessSecurityPolicy; |
90 using content::WebContents; | 90 using content::WebContents; |
| 91 using extensions::Extension; |
91 using protector::ProtectedPrefsWatcher; | 92 using protector::ProtectedPrefsWatcher; |
92 using protector::ProtectorService; | 93 using protector::ProtectorService; |
93 using protector::ProtectorServiceFactory; | 94 using protector::ProtectorServiceFactory; |
94 | 95 |
95 extern bool in_synchronous_profile_launch; | 96 extern bool in_synchronous_profile_launch; |
96 | 97 |
97 namespace { | 98 namespace { |
98 | 99 |
99 // Utility functions ---------------------------------------------------------- | 100 // Utility functions ---------------------------------------------------------- |
100 | 101 |
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 // New: | 848 // New: |
848 prefs->GetString(prefs::kHomePage), | 849 prefs->GetString(prefs::kHomePage), |
849 prefs->GetBoolean(prefs::kHomePageIsNewTabPage), | 850 prefs->GetBoolean(prefs::kHomePageIsNewTabPage), |
850 prefs->GetBoolean(prefs::kShowHomeButton), | 851 prefs->GetBoolean(prefs::kShowHomeButton), |
851 // Backup: | 852 // Backup: |
852 backup_homepage, | 853 backup_homepage, |
853 backup_homepage_is_ntp, | 854 backup_homepage_is_ntp, |
854 backup_show_home_button)); | 855 backup_show_home_button)); |
855 } | 856 } |
856 } | 857 } |
OLD | NEW |