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

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

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
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 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
14 #include "base/lazy_instance.h" 14 #include "base/lazy_instance.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/metrics/histogram.h" 17 #include "base/metrics/histogram.h"
18 #include "base/path_service.h" 18 #include "base/path_service.h"
19 #include "base/prefs/pref_service.h"
20 #include "base/run_loop.h" 19 #include "base/run_loop.h"
21 #include "base/strings/stringprintf.h" 20 #include "base/strings/stringprintf.h"
22 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
23 #include "build/build_config.h" 22 #include "build/build_config.h"
24 #include "chrome/browser/browser_process.h" 23 #include "chrome/browser/browser_process.h"
25 #include "chrome/browser/chrome_notification_types.h" 24 #include "chrome/browser/chrome_notification_types.h"
26 #include "chrome/browser/extensions/extension_service.h" 25 #include "chrome/browser/extensions/extension_service.h"
27 #include "chrome/browser/extensions/updater/extension_updater.h" 26 #include "chrome/browser/extensions/updater/extension_updater.h"
28 #include "chrome/browser/first_run/first_run_internal.h" 27 #include "chrome/browser/first_run/first_run_internal.h"
29 #include "chrome/browser/google/google_brand.h" 28 #include "chrome/browser/google/google_brand.h"
(...skipping 18 matching lines...) Expand all
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/grit/locale_settings.h" 52 #include "chrome/grit/locale_settings.h"
54 #include "chrome/installer/util/master_preferences.h" 53 #include "chrome/installer/util/master_preferences.h"
55 #include "chrome/installer/util/master_preferences_constants.h" 54 #include "chrome/installer/util/master_preferences_constants.h"
56 #include "chrome/installer/util/util_constants.h" 55 #include "chrome/installer/util/util_constants.h"
57 #include "components/pref_registry/pref_registry_syncable.h" 56 #include "components/pref_registry/pref_registry_syncable.h"
57 #include "components/prefs/pref_service.h"
58 #include "components/search_engines/template_url_service.h" 58 #include "components/search_engines/template_url_service.h"
59 #include "components/signin/core/browser/signin_manager.h" 59 #include "components/signin/core/browser/signin_manager.h"
60 #include "components/signin/core/browser/signin_tracker.h" 60 #include "components/signin/core/browser/signin_tracker.h"
61 #include "content/public/browser/navigation_entry.h" 61 #include "content/public/browser/navigation_entry.h"
62 #include "content/public/browser/notification_observer.h" 62 #include "content/public/browser/notification_observer.h"
63 #include "content/public/browser/notification_registrar.h" 63 #include "content/public/browser/notification_registrar.h"
64 #include "content/public/browser/notification_service.h" 64 #include "content/public/browser/notification_service.h"
65 #include "content/public/browser/notification_types.h" 65 #include "content/public/browser/notification_types.h"
66 #include "content/public/browser/user_metrics.h" 66 #include "content/public/browser/user_metrics.h"
67 #include "content/public/browser/web_contents.h" 67 #include "content/public/browser/web_contents.h"
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 SetShouldDoPersonalDataManagerFirstRun(); 832 SetShouldDoPersonalDataManagerFirstRun();
833 833
834 internal::DoPostImportPlatformSpecificTasks(profile); 834 internal::DoPostImportPlatformSpecificTasks(profile);
835 } 835 }
836 836
837 uint16_t auto_import_state() { 837 uint16_t auto_import_state() {
838 return g_auto_import_state; 838 return g_auto_import_state;
839 } 839 }
840 840
841 } // namespace first_run 841 } // namespace first_run
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698