| 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 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_MANAGED_VALUE_STORE_CACHE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_MANAGED_VALUE_STORE_CACHE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_MANAGED_VALUE_STORE_CACHE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_MANAGED_VALUE_STORE_CACHE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
| 15 #include "base/memory/linked_ptr.h" | 15 #include "base/memory/linked_ptr.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "chrome/browser/extensions/api/storage/settings_observer.h" |
| 20 #include "chrome/browser/extensions/api/storage/value_store_cache.h" |
| 19 #include "chrome/browser/extensions/event_router.h" | 21 #include "chrome/browser/extensions/event_router.h" |
| 20 #include "chrome/browser/extensions/settings/settings_observer.h" | |
| 21 #include "chrome/browser/extensions/settings/value_store_cache.h" | |
| 22 #include "chrome/browser/policy/policy_service.h" | 22 #include "chrome/browser/policy/policy_service.h" |
| 23 | 23 |
| 24 namespace policy { | 24 namespace policy { |
| 25 class PolicyMap; | 25 class PolicyMap; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace extensions { | 28 namespace extensions { |
| 29 | 29 |
| 30 class PolicyValueStore; | 30 class PolicyValueStore; |
| 31 class SettingsStorageFactory; | 31 class SettingsStorageFactory; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 | 144 |
| 145 // All the PolicyValueStores live on the FILE thread, and |store_map_| can be | 145 // All the PolicyValueStores live on the FILE thread, and |store_map_| can be |
| 146 // accessed only on the FILE thread as well. | 146 // accessed only on the FILE thread as well. |
| 147 PolicyValueStoreMap store_map_; | 147 PolicyValueStoreMap store_map_; |
| 148 | 148 |
| 149 DISALLOW_COPY_AND_ASSIGN(ManagedValueStoreCache); | 149 DISALLOW_COPY_AND_ASSIGN(ManagedValueStoreCache); |
| 150 }; | 150 }; |
| 151 | 151 |
| 152 } // namespace extensions | 152 } // namespace extensions |
| 153 | 153 |
| 154 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_MANAGED_VALUE_STORE_CACHE_H_ | 154 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_MANAGED_VALUE_STORE_CACHE_H_ |
| OLD | NEW |