| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_ | 5 #ifndef CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_ |
| 6 #define CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_ | 6 #define CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/ref_counted.h" | 16 #include "base/ref_counted.h" |
| 17 #include "base/scoped_ptr.h" | 17 #include "base/scoped_ptr.h" |
| 18 #include "base/values.h" | 18 #include "base/values.h" |
| 19 #include "chrome/browser/chrome_thread.h" | 19 #include "chrome/browser/browser_thread.h" |
| 20 #include "chrome/browser/prefs/pref_notifier.h" | 20 #include "chrome/browser/prefs/pref_notifier.h" |
| 21 #include "chrome/common/pref_store.h" | 21 #include "chrome/common/pref_store.h" |
| 22 | 22 |
| 23 class FilePath; | 23 class FilePath; |
| 24 class PrefStore; | 24 class PrefStore; |
| 25 class Profile; | 25 class Profile; |
| 26 | 26 |
| 27 // The PrefValueStore manages various sources of values for Preferences | 27 // The PrefValueStore manages various sources of values for Preferences |
| 28 // (e.g., configuration policies, extensions, and user settings). It returns | 28 // (e.g., configuration policies, extensions, and user settings). It returns |
| 29 // the value of a Preference from the source with the highest priority, and | 29 // the value of a Preference from the source with the highest priority, and |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 void RefreshPolicyPrefsOnFileThread( | 219 void RefreshPolicyPrefsOnFileThread( |
| 220 ChromeThread::ID calling_thread_id, | 220 ChromeThread::ID calling_thread_id, |
| 221 PrefStore* new_managed_pref_store, | 221 PrefStore* new_managed_pref_store, |
| 222 PrefStore* new_recommended_pref_store, | 222 PrefStore* new_recommended_pref_store, |
| 223 AfterRefreshCallback* callback); | 223 AfterRefreshCallback* callback); |
| 224 | 224 |
| 225 DISALLOW_COPY_AND_ASSIGN(PrefValueStore); | 225 DISALLOW_COPY_AND_ASSIGN(PrefValueStore); |
| 226 }; | 226 }; |
| 227 | 227 |
| 228 #endif // CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_ | 228 #endif // CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_ |
| OLD | NEW |