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_EXTENSION_PREF_VALUE_MAP_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_VALUE_MAP_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_VALUE_MAP_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_VALUE_MAP_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <set> | 9 #include <set> |
11 #include <string> | 10 #include <string> |
12 | 11 |
13 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
14 #include "base/time.h" | 13 #include "base/time.h" |
15 #include "base/values.h" | 14 #include "base/values.h" |
16 #include "chrome/browser/prefs/pref_value_map.h" | 15 #include "chrome/browser/prefs/pref_value_map.h" |
17 #include "chrome/browser/profiles/profile_keyed_service.h" | 16 #include "chrome/browser/profiles/profile_keyed_service.h" |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 // being destroyed. In tests, it isn't called, so the notification must | 184 // being destroyed. In tests, it isn't called, so the notification must |
186 // be done in the destructor. This bit tracks whether it has been done yet. | 185 // be done in the destructor. This bit tracks whether it has been done yet. |
187 bool destroyed_; | 186 bool destroyed_; |
188 | 187 |
189 ObserverList<Observer, true> observers_; | 188 ObserverList<Observer, true> observers_; |
190 | 189 |
191 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefValueMap); | 190 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefValueMap); |
192 }; | 191 }; |
193 | 192 |
194 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_VALUE_MAP_H_ | 193 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_VALUE_MAP_H_ |
OLD | NEW |