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/first_run/first_run.h" | 5 #include "chrome/browser/first_run/first_run.h" |
6 | 6 |
7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
9 #include "chrome/browser/first_run/first_run_internal.h" | 9 #include "chrome/browser/first_run/first_run_internal.h" |
10 #include "chrome/browser/importer/importer_host.h" | 10 #include "chrome/browser/importer/importer_host.h" |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 if (!CreateSentinel()) | 166 if (!CreateSentinel()) |
167 return SKIP_FIRST_RUN; | 167 return SKIP_FIRST_RUN; |
168 | 168 |
169 internal::SetShowWelcomePagePrefIfNeeded(install_prefs.get()); | 169 internal::SetShowWelcomePagePrefIfNeeded(install_prefs.get()); |
170 internal::SetImportPreferencesAndLaunchImport(out_prefs, install_prefs.get()); | 170 internal::SetImportPreferencesAndLaunchImport(out_prefs, install_prefs.get()); |
171 internal::SetDefaultBrowser(install_prefs.get()); | 171 internal::SetDefaultBrowser(install_prefs.get()); |
172 | 172 |
173 return SKIP_FIRST_RUN; | 173 return SKIP_FIRST_RUN; |
174 } | 174 } |
175 | 175 |
176 | |
177 } // namespace first_run | 176 } // namespace first_run |
OLD | NEW |