| 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/prefs/chrome_pref_service_factory.h" | 5 #include "chrome/browser/prefs/chrome_pref_service_factory.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
| 11 #include "base/prefs/default_pref_store.h" | 11 #include "base/prefs/default_pref_store.h" |
| 12 #include "base/prefs/json_pref_store.h" | 12 #include "base/prefs/json_pref_store.h" |
| 13 #include "base/prefs/pref_notifier_impl.h" |
| 14 #include "base/prefs/pref_registry.h" |
| 15 #include "base/prefs/pref_service.h" |
| 16 #include "base/prefs/pref_value_store.h" |
| 13 #include "chrome/browser/policy/configuration_policy_pref_store.h" | 17 #include "chrome/browser/policy/configuration_policy_pref_store.h" |
| 14 #include "chrome/browser/prefs/command_line_pref_store.h" | 18 #include "chrome/browser/prefs/command_line_pref_store.h" |
| 15 #include "chrome/browser/prefs/pref_model_associator.h" | 19 #include "chrome/browser/prefs/pref_model_associator.h" |
| 16 #include "chrome/browser/prefs/pref_notifier_impl.h" | |
| 17 #include "chrome/browser/prefs/pref_registry.h" | |
| 18 #include "chrome/browser/prefs/pref_registry_syncable.h" | 20 #include "chrome/browser/prefs/pref_registry_syncable.h" |
| 19 #include "chrome/browser/prefs/pref_service.h" | |
| 20 #include "chrome/browser/prefs/pref_service_syncable_builder.h" | 21 #include "chrome/browser/prefs/pref_service_syncable_builder.h" |
| 21 #include "chrome/browser/prefs/pref_value_store.h" | |
| 22 #include "chrome/browser/profiles/profile.h" | 22 #include "chrome/browser/profiles/profile.h" |
| 23 #include "chrome/browser/ui/profile_error_dialog.h" | 23 #include "chrome/browser/ui/profile_error_dialog.h" |
| 24 #include "content/public/browser/browser_context.h" | 24 #include "content/public/browser/browser_context.h" |
| 25 #include "content/public/browser/browser_thread.h" | 25 #include "content/public/browser/browser_thread.h" |
| 26 #include "grit/chromium_strings.h" | 26 #include "grit/chromium_strings.h" |
| 27 #include "grit/generated_resources.h" | 27 #include "grit/generated_resources.h" |
| 28 | 28 |
| 29 using content::BrowserContext; | 29 using content::BrowserContext; |
| 30 using content::BrowserThread; | 30 using content::BrowserThread; |
| 31 | 31 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 PrepareBuilder(&builder, | 128 PrepareBuilder(&builder, |
| 129 pref_filename, | 129 pref_filename, |
| 130 pref_io_task_runner, | 130 pref_io_task_runner, |
| 131 policy_service, | 131 policy_service, |
| 132 extension_prefs, | 132 extension_prefs, |
| 133 async); | 133 async); |
| 134 return builder.CreateSyncable(pref_registry); | 134 return builder.CreateSyncable(pref_registry); |
| 135 } | 135 } |
| 136 | 136 |
| 137 } // namespace chrome_prefs | 137 } // namespace chrome_prefs |
| OLD | NEW |