Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: chrome/browser/first_run/first_run.cc

Issue 271793003: components: Extract pref_registry component out of user_prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698