| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 46 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 47 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" | 47 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" |
| 48 #include "chrome/common/chrome_constants.h" | 48 #include "chrome/common/chrome_constants.h" |
| 49 #include "chrome/common/chrome_paths.h" | 49 #include "chrome/common/chrome_paths.h" |
| 50 #include "chrome/common/chrome_switches.h" | 50 #include "chrome/common/chrome_switches.h" |
| 51 #include "chrome/common/pref_names.h" | 51 #include "chrome/common/pref_names.h" |
| 52 #include "chrome/common/url_constants.h" | 52 #include "chrome/common/url_constants.h" |
| 53 #include "chrome/installer/util/master_preferences.h" | 53 #include "chrome/installer/util/master_preferences.h" |
| 54 #include "chrome/installer/util/master_preferences_constants.h" | 54 #include "chrome/installer/util/master_preferences_constants.h" |
| 55 #include "chrome/installer/util/util_constants.h" | 55 #include "chrome/installer/util/util_constants.h" |
| 56 #include "components/pref_registry/pref_registry_syncable.h" |
| 56 #include "components/signin/core/browser/signin_manager.h" | 57 #include "components/signin/core/browser/signin_manager.h" |
| 57 #include "components/signin/core/browser/signin_tracker.h" | 58 #include "components/signin/core/browser/signin_tracker.h" |
| 58 #include "components/user_prefs/pref_registry_syncable.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 "google_apis/gaia/gaia_auth_util.h" | 65 #include "google_apis/gaia/gaia_auth_util.h" |
| 66 #include "url/gurl.h" | 66 #include "url/gurl.h" |
| 67 | 67 |
| 68 using base::UserMetricsAction; | 68 using base::UserMetricsAction; |
| (...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 SetShouldDoPersonalDataManagerFirstRun(); | 806 SetShouldDoPersonalDataManagerFirstRun(); |
| 807 | 807 |
| 808 internal::DoPostImportPlatformSpecificTasks(profile); | 808 internal::DoPostImportPlatformSpecificTasks(profile); |
| 809 } | 809 } |
| 810 | 810 |
| 811 uint16 auto_import_state() { | 811 uint16 auto_import_state() { |
| 812 return g_auto_import_state; | 812 return g_auto_import_state; |
| 813 } | 813 } |
| 814 | 814 |
| 815 } // namespace first_run | 815 } // namespace first_run |
| OLD | NEW |