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

Side by Side Diff: chrome/browser/prefs/chrome_pref_service_factory.cc

Issue 1227973003: Componentize //chrome/browser/prefs/tracked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: modified folder to prefs_tracker Created 5 years, 5 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/prefs/chrome_pref_service_factory.h" 5 #include "chrome/browser/prefs/chrome_pref_service_factory.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 12 matching lines...) Expand all
23 #include "base/prefs/pref_value_store.h" 23 #include "base/prefs/pref_value_store.h"
24 #include "base/threading/sequenced_worker_pool.h" 24 #include "base/threading/sequenced_worker_pool.h"
25 #include "base/time/time.h" 25 #include "base/time/time.h"
26 #include "base/trace_event/trace_event.h" 26 #include "base/trace_event/trace_event.h"
27 #include "chrome/browser/browser_process.h" 27 #include "chrome/browser/browser_process.h"
28 #include "chrome/browser/prefs/command_line_pref_store.h" 28 #include "chrome/browser/prefs/command_line_pref_store.h"
29 #include "chrome/browser/prefs/pref_model_associator.h" 29 #include "chrome/browser/prefs/pref_model_associator.h"
30 #include "chrome/browser/prefs/pref_service_syncable.h" 30 #include "chrome/browser/prefs/pref_service_syncable.h"
31 #include "chrome/browser/prefs/pref_service_syncable_factory.h" 31 #include "chrome/browser/prefs/pref_service_syncable_factory.h"
32 #include "chrome/browser/prefs/profile_pref_store_manager.h" 32 #include "chrome/browser/prefs/profile_pref_store_manager.h"
33 #include "chrome/browser/prefs/tracked/pref_hash_filter.h"
34 #include "chrome/browser/profiles/file_path_verifier_win.h" 33 #include "chrome/browser/profiles/file_path_verifier_win.h"
35 #include "chrome/browser/profiles/profile.h" 34 #include "chrome/browser/profiles/profile.h"
36 #include "chrome/browser/sync/glue/sync_start_util.h" 35 #include "chrome/browser/sync/glue/sync_start_util.h"
37 #include "chrome/browser/ui/profile_error_dialog.h" 36 #include "chrome/browser/ui/profile_error_dialog.h"
38 #include "chrome/common/chrome_constants.h" 37 #include "chrome/common/chrome_constants.h"
39 #include "chrome/common/pref_names.h" 38 #include "chrome/common/pref_names.h"
40 #include "chrome/grit/chromium_strings.h" 39 #include "chrome/grit/chromium_strings.h"
41 #include "chrome/grit/generated_resources.h" 40 #include "chrome/grit/generated_resources.h"
42 #include "components/component_updater/pref_names.h" 41 #include "components/component_updater/pref_names.h"
43 #include "components/pref_registry/pref_registry_syncable.h" 42 #include "components/pref_registry/pref_registry_syncable.h"
43 #include "components/prefs_tracker/pref_names.h"
44 #include "components/search_engines/default_search_manager.h" 44 #include "components/search_engines/default_search_manager.h"
45 #include "components/search_engines/default_search_pref_migration.h" 45 #include "components/search_engines/default_search_pref_migration.h"
46 #include "components/search_engines/search_engines_pref_names.h" 46 #include "components/search_engines/search_engines_pref_names.h"
47 #include "components/sync_driver/pref_names.h" 47 #include "components/sync_driver/pref_names.h"
48 #include "content/public/browser/browser_context.h" 48 #include "content/public/browser/browser_context.h"
49 #include "content/public/browser/browser_thread.h" 49 #include "content/public/browser/browser_thread.h"
50 #include "grit/browser_resources.h" 50 #include "grit/browser_resources.h"
51 #include "sync/internal_api/public/base/model_type.h" 51 #include "sync/internal_api/public/base/model_type.h"
52 #include "ui/base/resource/resource_bundle.h" 52 #include "ui/base/resource/resource_bundle.h"
53 53
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 574
575 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { 575 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
576 ProfilePrefStoreManager::RegisterProfilePrefs(registry); 576 ProfilePrefStoreManager::RegisterProfilePrefs(registry);
577 } 577 }
578 578
579 void RegisterPrefs(PrefRegistrySimple* registry) { 579 void RegisterPrefs(PrefRegistrySimple* registry) {
580 ProfilePrefStoreManager::RegisterPrefs(registry); 580 ProfilePrefStoreManager::RegisterPrefs(registry);
581 } 581 }
582 582
583 } // namespace chrome_prefs 583 } // namespace chrome_prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698