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_POLICY_VALUE_STORE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_POLICY_VALUE_STORE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_POLICY_VALUE_STORE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_POLICY_VALUE_STORE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "chrome/browser/extensions/settings/settings_observer.h" | 14 #include "chrome/browser/extensions/api/storage/settings_observer.h" |
15 #include "chrome/browser/value_store/value_store.h" | 15 #include "chrome/browser/value_store/value_store.h" |
16 | 16 |
17 namespace policy { | 17 namespace policy { |
18 class PolicyMap; | 18 class PolicyMap; |
19 } | 19 } |
20 | 20 |
21 namespace extensions { | 21 namespace extensions { |
22 | 22 |
23 // A ValueStore that is backed by another, persistent ValueStore, and stores | 23 // A ValueStore that is backed by another, persistent ValueStore, and stores |
24 // the policies for a specific extension there. This ValueStore is used to | 24 // the policies for a specific extension there. This ValueStore is used to |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 private: | 65 private: |
66 std::string extension_id_; | 66 std::string extension_id_; |
67 scoped_refptr<SettingsObserverList> observers_; | 67 scoped_refptr<SettingsObserverList> observers_; |
68 scoped_ptr<ValueStore> delegate_; | 68 scoped_ptr<ValueStore> delegate_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(PolicyValueStore); | 70 DISALLOW_COPY_AND_ASSIGN(PolicyValueStore); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace extensions | 73 } // namespace extensions |
74 | 74 |
75 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_POLICY_VALUE_STORE_H_ | 75 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_POLICY_VALUE_STORE_H_ |
OLD | NEW |