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_API_STORAGE_MANAGED_VALUE_STORE_CACHE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_MANAGED_VALUE_STORE_CACHE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_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/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "chrome/browser/extensions/api/storage/settings_observer.h" | |
18 #include "chrome/browser/extensions/api/storage/value_store_cache.h" | |
19 #include "components/policy/core/common/policy_service.h" | 17 #include "components/policy/core/common/policy_service.h" |
| 18 #include "extensions/browser/api/storage/settings_observer.h" |
| 19 #include "extensions/browser/api/storage/value_store_cache.h" |
20 | 20 |
21 class Profile; | 21 class Profile; |
22 | 22 |
23 namespace content { | 23 namespace content { |
24 class BrowserContext; | 24 class BrowserContext; |
25 } | 25 } |
26 | 26 |
27 namespace policy { | 27 namespace policy { |
28 class PolicyMap; | 28 class PolicyMap; |
29 } | 29 } |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 // All the PolicyValueStores live on the FILE thread, and |store_map_| can be | 98 // All the PolicyValueStores live on the FILE thread, and |store_map_| can be |
99 // accessed only on the FILE thread as well. | 99 // accessed only on the FILE thread as well. |
100 PolicyValueStoreMap store_map_; | 100 PolicyValueStoreMap store_map_; |
101 | 101 |
102 DISALLOW_COPY_AND_ASSIGN(ManagedValueStoreCache); | 102 DISALLOW_COPY_AND_ASSIGN(ManagedValueStoreCache); |
103 }; | 103 }; |
104 | 104 |
105 } // namespace extensions | 105 } // namespace extensions |
106 | 106 |
107 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_MANAGED_VALUE_STORE_CACHE_H_ | 107 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_MANAGED_VALUE_STORE_CACHE_H_ |
OLD | NEW |