| 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 <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "chrome/browser/first_run/first_run_internal.h" | 26 #include "chrome/browser/first_run/first_run_internal.h" |
| 27 #include "chrome/browser/google/google_brand.h" | 27 #include "chrome/browser/google/google_brand.h" |
| 28 #include "chrome/browser/importer/external_process_importer_host.h" | 28 #include "chrome/browser/importer/external_process_importer_host.h" |
| 29 #include "chrome/browser/importer/importer_list.h" | 29 #include "chrome/browser/importer/importer_list.h" |
| 30 #include "chrome/browser/importer/importer_progress_observer.h" | 30 #include "chrome/browser/importer/importer_progress_observer.h" |
| 31 #include "chrome/browser/importer/importer_uma.h" | 31 #include "chrome/browser/importer/importer_uma.h" |
| 32 #include "chrome/browser/importer/profile_writer.h" | 32 #include "chrome/browser/importer/profile_writer.h" |
| 33 #include "chrome/browser/prefs/chrome_pref_service_factory.h" | 33 #include "chrome/browser/prefs/chrome_pref_service_factory.h" |
| 34 #include "chrome/browser/profiles/profile.h" | 34 #include "chrome/browser/profiles/profile.h" |
| 35 #include "chrome/browser/profiles/profiles_state.h" | 35 #include "chrome/browser/profiles/profiles_state.h" |
| 36 #include "chrome/browser/search_engines/template_url_service.h" | |
| 37 #include "chrome/browser/search_engines/template_url_service_factory.h" | 36 #include "chrome/browser/search_engines/template_url_service_factory.h" |
| 38 #include "chrome/browser/shell_integration.h" | 37 #include "chrome/browser/shell_integration.h" |
| 39 #include "chrome/browser/signin/signin_manager_factory.h" | 38 #include "chrome/browser/signin/signin_manager_factory.h" |
| 40 #include "chrome/browser/signin/signin_promo.h" | 39 #include "chrome/browser/signin/signin_promo.h" |
| 41 #include "chrome/browser/ui/browser.h" | 40 #include "chrome/browser/ui/browser.h" |
| 42 #include "chrome/browser/ui/browser_finder.h" | 41 #include "chrome/browser/ui/browser_finder.h" |
| 43 #include "chrome/browser/ui/chrome_pages.h" | 42 #include "chrome/browser/ui/chrome_pages.h" |
| 44 #include "chrome/browser/ui/global_error/global_error_service.h" | 43 #include "chrome/browser/ui/global_error/global_error_service.h" |
| 45 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 44 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
| 46 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 45 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 47 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" | 46 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" |
| 48 #include "chrome/common/chrome_constants.h" | 47 #include "chrome/common/chrome_constants.h" |
| 49 #include "chrome/common/chrome_paths.h" | 48 #include "chrome/common/chrome_paths.h" |
| 50 #include "chrome/common/chrome_switches.h" | 49 #include "chrome/common/chrome_switches.h" |
| 51 #include "chrome/common/pref_names.h" | 50 #include "chrome/common/pref_names.h" |
| 52 #include "chrome/common/url_constants.h" | 51 #include "chrome/common/url_constants.h" |
| 53 #include "chrome/installer/util/master_preferences.h" | 52 #include "chrome/installer/util/master_preferences.h" |
| 54 #include "chrome/installer/util/master_preferences_constants.h" | 53 #include "chrome/installer/util/master_preferences_constants.h" |
| 55 #include "chrome/installer/util/util_constants.h" | 54 #include "chrome/installer/util/util_constants.h" |
| 56 #include "components/pref_registry/pref_registry_syncable.h" | 55 #include "components/pref_registry/pref_registry_syncable.h" |
| 56 #include "components/search_engines/template_url_service.h" |
| 57 #include "components/signin/core/browser/signin_manager.h" | 57 #include "components/signin/core/browser/signin_manager.h" |
| 58 #include "components/signin/core/browser/signin_tracker.h" | 58 #include "components/signin/core/browser/signin_tracker.h" |
| 59 #include "content/public/browser/notification_observer.h" | 59 #include "content/public/browser/notification_observer.h" |
| 60 #include "content/public/browser/notification_registrar.h" | 60 #include "content/public/browser/notification_registrar.h" |
| 61 #include "content/public/browser/notification_service.h" | 61 #include "content/public/browser/notification_service.h" |
| 62 #include "content/public/browser/notification_types.h" | 62 #include "content/public/browser/notification_types.h" |
| 63 #include "content/public/browser/user_metrics.h" | 63 #include "content/public/browser/user_metrics.h" |
| 64 #include "content/public/browser/web_contents.h" | 64 #include "content/public/browser/web_contents.h" |
| 65 #include "extensions/browser/extension_system.h" | 65 #include "extensions/browser/extension_system.h" |
| 66 #include "google_apis/gaia/gaia_auth_util.h" | 66 #include "google_apis/gaia/gaia_auth_util.h" |
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 SetShouldDoPersonalDataManagerFirstRun(); | 803 SetShouldDoPersonalDataManagerFirstRun(); |
| 804 | 804 |
| 805 internal::DoPostImportPlatformSpecificTasks(profile); | 805 internal::DoPostImportPlatformSpecificTasks(profile); |
| 806 } | 806 } |
| 807 | 807 |
| 808 uint16 auto_import_state() { | 808 uint16 auto_import_state() { |
| 809 return g_auto_import_state; | 809 return g_auto_import_state; |
| 810 } | 810 } |
| 811 | 811 |
| 812 } // namespace first_run | 812 } // namespace first_run |
| OLD | NEW |