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

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

Issue 12211105: Move remaining non-test, non-Chrome-specific Prefs code to base/prefs/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, merge to LKGR. Created 7 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 | 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 "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/prefs/pref_registry_simple.h"
14 #include "base/prefs/pref_service.h"
13 #include "base/stringprintf.h" 15 #include "base/stringprintf.h"
14 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
15 #include "build/build_config.h" 17 #include "build/build_config.h"
16 #include "chrome/browser/browser_process.h" 18 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/extensions/extension_service.h" 19 #include "chrome/browser/extensions/extension_service.h"
18 #include "chrome/browser/extensions/updater/extension_updater.h" 20 #include "chrome/browser/extensions/updater/extension_updater.h"
19 #include "chrome/browser/first_run/first_run_dialog.h" 21 #include "chrome/browser/first_run/first_run_dialog.h"
20 #include "chrome/browser/first_run/first_run_import_observer.h" 22 #include "chrome/browser/first_run/first_run_import_observer.h"
21 #include "chrome/browser/first_run/first_run_internal.h" 23 #include "chrome/browser/first_run/first_run_internal.h"
22 #include "chrome/browser/google/google_util.h" 24 #include "chrome/browser/google/google_util.h"
23 #include "chrome/browser/importer/external_process_importer_host.h" 25 #include "chrome/browser/importer/external_process_importer_host.h"
24 #include "chrome/browser/importer/importer_host.h" 26 #include "chrome/browser/importer/importer_host.h"
25 #include "chrome/browser/importer/importer_list.h" 27 #include "chrome/browser/importer/importer_list.h"
26 #include "chrome/browser/importer/importer_progress_dialog.h" 28 #include "chrome/browser/importer/importer_progress_dialog.h"
27 #include "chrome/browser/importer/importer_progress_observer.h" 29 #include "chrome/browser/importer/importer_progress_observer.h"
28 #include "chrome/browser/prefs/pref_registry_simple.h"
29 #include "chrome/browser/prefs/pref_registry_syncable.h" 30 #include "chrome/browser/prefs/pref_registry_syncable.h"
30 #include "chrome/browser/prefs/pref_service.h"
31 #include "chrome/browser/process_singleton.h" 31 #include "chrome/browser/process_singleton.h"
32 #include "chrome/browser/profiles/profile_manager.h" 32 #include "chrome/browser/profiles/profile_manager.h"
33 #include "chrome/browser/search_engines/template_url_service.h" 33 #include "chrome/browser/search_engines/template_url_service.h"
34 #include "chrome/browser/search_engines/template_url_service_factory.h" 34 #include "chrome/browser/search_engines/template_url_service_factory.h"
35 #include "chrome/browser/shell_integration.h" 35 #include "chrome/browser/shell_integration.h"
36 #include "chrome/browser/ui/browser.h" 36 #include "chrome/browser/ui/browser.h"
37 #include "chrome/browser/ui/browser_finder.h" 37 #include "chrome/browser/ui/browser_finder.h"
38 #include "chrome/browser/ui/global_error/global_error_service.h" 38 #include "chrome/browser/ui/global_error/global_error_service.h"
39 #include "chrome/browser/ui/global_error/global_error_service_factory.h" 39 #include "chrome/browser/ui/global_error/global_error_service_factory.h"
40 #include "chrome/browser/ui/tabs/tab_strip_model.h" 40 #include "chrome/browser/ui/tabs/tab_strip_model.h"
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 if (template_url && template_url->GetDefaultSearchProvider()) 720 if (template_url && template_url->GetDefaultSearchProvider())
721 FirstRunBubbleLauncher::ShowFirstRunBubbleSoon(); 721 FirstRunBubbleLauncher::ShowFirstRunBubbleSoon();
722 SetShowWelcomePagePref(); 722 SetShowWelcomePagePref();
723 SetPersonalDataManagerFirstRunPref(); 723 SetPersonalDataManagerFirstRunPref();
724 #endif // !defined(USE_AURA) 724 #endif // !defined(USE_AURA)
725 725
726 internal::DoPostImportPlatformSpecificTasks(); 726 internal::DoPostImportPlatformSpecificTasks();
727 } 727 }
728 728
729 } // namespace first_run 729 } // namespace first_run
OLDNEW
« no previous file with comments | « chrome/browser/favicon/favicon_service_factory.cc ('k') | chrome/browser/first_run/first_run_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698