| 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> |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 // that initiated the policy refresh. RefreshPolicyPrefsCompletion takes | 210 // that initiated the policy refresh. RefreshPolicyPrefsCompletion takes |
| 211 // ownership of the |callback| object. | 211 // ownership of the |callback| object. |
| 212 void RefreshPolicyPrefsCompletion( | 212 void RefreshPolicyPrefsCompletion( |
| 213 PrefStore* new_managed_pref_store, | 213 PrefStore* new_managed_pref_store, |
| 214 PrefStore* new_recommended_pref_store, | 214 PrefStore* new_recommended_pref_store, |
| 215 AfterRefreshCallback* callback); | 215 AfterRefreshCallback* callback); |
| 216 | 216 |
| 217 // Called during policy refresh to do the ReadPrefs on the FILE thread. | 217 // Called during policy refresh to do the ReadPrefs on the FILE thread. |
| 218 // RefreshPolicyPrefsOnFileThread takes ownership of the |callback| object. | 218 // RefreshPolicyPrefsOnFileThread takes ownership of the |callback| object. |
| 219 void RefreshPolicyPrefsOnFileThread( | 219 void RefreshPolicyPrefsOnFileThread( |
| 220 ChromeThread::ID calling_thread_id, | 220 BrowserThread::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 |