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_PREFS_OVERLAY_USER_PREF_STORE_H_ | 5 #ifndef CHROME_BROWSER_PREFS_OVERLAY_USER_PREF_STORE_H_ |
6 #define CHROME_BROWSER_PREFS_OVERLAY_USER_PREF_STORE_H_ | 6 #define CHROME_BROWSER_PREFS_OVERLAY_USER_PREF_STORE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
15 #include "chrome/browser/prefs/pref_value_map.h" | 14 #include "chrome/browser/prefs/pref_value_map.h" |
16 #include "chrome/common/persistent_pref_store.h" | 15 #include "chrome/common/persistent_pref_store.h" |
17 | 16 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 ObserverList<PrefStore::Observer, true> observers_; | 75 ObserverList<PrefStore::Observer, true> observers_; |
77 PrefValueMap overlay_; | 76 PrefValueMap overlay_; |
78 scoped_refptr<PersistentPrefStore> underlay_; | 77 scoped_refptr<PersistentPrefStore> underlay_; |
79 NamesMap overlay_to_underlay_names_map_; | 78 NamesMap overlay_to_underlay_names_map_; |
80 NamesMap underlay_to_overlay_names_map_; | 79 NamesMap underlay_to_overlay_names_map_; |
81 | 80 |
82 DISALLOW_COPY_AND_ASSIGN(OverlayUserPrefStore); | 81 DISALLOW_COPY_AND_ASSIGN(OverlayUserPrefStore); |
83 }; | 82 }; |
84 | 83 |
85 #endif // CHROME_BROWSER_PREFS_OVERLAY_USER_PREF_STORE_H_ | 84 #endif // CHROME_BROWSER_PREFS_OVERLAY_USER_PREF_STORE_H_ |
OLD | NEW |