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_EXTENSIONS_EXTENSION_PREF_STORE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_STORE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_STORE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_STORE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
11 #include <string> | 11 #include <string> |
12 #include <utility> | 12 #include <utility> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
16 #include "base/scoped_ptr.h" | 16 #include "base/scoped_ptr.h" |
17 #include "base/stl_util-inl.h" | 17 #include "base/stl_util-inl.h" |
18 #include "chrome/browser/pref_notifier.h" | 18 #include "chrome/browser/prefs/pref_notifier.h" |
19 #include "chrome/common/notification_observer.h" | 19 #include "chrome/common/notification_observer.h" |
20 #include "chrome/common/notification_registrar.h" | 20 #include "chrome/common/notification_registrar.h" |
21 #include "chrome/common/pref_store.h" | 21 #include "chrome/common/pref_store.h" |
22 | 22 |
23 class DictionaryValue; | 23 class DictionaryValue; |
24 class Extension; | 24 class Extension; |
25 class PrefService; | 25 class PrefService; |
26 class Profile; | 26 class Profile; |
27 class Value; | 27 class Value; |
28 | 28 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // extensions. | 114 // extensions. |
115 Profile* profile_; | 115 Profile* profile_; |
116 | 116 |
117 // My PrefStore type, assigned by the PrefValueStore. | 117 // My PrefStore type, assigned by the PrefValueStore. |
118 PrefNotifier::PrefStoreType type_; | 118 PrefNotifier::PrefStoreType type_; |
119 | 119 |
120 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefStore); | 120 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefStore); |
121 }; | 121 }; |
122 | 122 |
123 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_STORE_H_ | 123 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_STORE_H_ |
OLD | NEW |