| 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" | 17 #include "chrome/browser/extensions/api/storage/settings_observer.h" |
| 18 #include "chrome/browser/extensions/api/storage/value_store_cache.h" | 18 #include "chrome/browser/extensions/api/storage/value_store_cache.h" |
| 19 #include "chrome/browser/policy/policy_service.h" | 19 #include "components/policy/core/common/policy_service.h" |
| 20 | 20 |
| 21 class Profile; | 21 class Profile; |
| 22 | 22 |
| 23 namespace policy { | 23 namespace policy { |
| 24 class PolicyMap; | 24 class PolicyMap; |
| 25 } | 25 } |
| 26 | 26 |
| 27 namespace extensions { | 27 namespace extensions { |
| 28 | 28 |
| 29 class PolicyValueStore; | 29 class PolicyValueStore; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 // All the PolicyValueStores live on the FILE thread, and |store_map_| can be | 94 // All the PolicyValueStores live on the FILE thread, and |store_map_| can be |
| 95 // accessed only on the FILE thread as well. | 95 // accessed only on the FILE thread as well. |
| 96 PolicyValueStoreMap store_map_; | 96 PolicyValueStoreMap store_map_; |
| 97 | 97 |
| 98 DISALLOW_COPY_AND_ASSIGN(ManagedValueStoreCache); | 98 DISALLOW_COPY_AND_ASSIGN(ManagedValueStoreCache); |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 } // namespace extensions | 101 } // namespace extensions |
| 102 | 102 |
| 103 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_MANAGED_VALUE_STORE_CACHE_H_ | 103 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_MANAGED_VALUE_STORE_CACHE_H_ |
| OLD | NEW |