OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 ANDROID_WEBVIEW_BROWSER_AW_PREF_STORE_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_PREF_STORE_H_ |
6 #define ANDROID_WEBVIEW_BROWSER_AW_PREF_STORE_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_PREF_STORE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 void CommitPendingWrite() override {} | 46 void CommitPendingWrite() override {} |
47 void SchedulePendingLossyWrites() override {} | 47 void SchedulePendingLossyWrites() override {} |
48 | 48 |
49 protected: | 49 protected: |
50 ~AwPrefStore() override; | 50 ~AwPrefStore() override; |
51 | 51 |
52 private: | 52 private: |
53 // Stores the preference values. | 53 // Stores the preference values. |
54 PrefValueMap prefs_; | 54 PrefValueMap prefs_; |
55 | 55 |
56 ObserverList<PrefStore::Observer, true> observers_; | 56 base::ObserverList<PrefStore::Observer, true> observers_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(AwPrefStore); | 58 DISALLOW_COPY_AND_ASSIGN(AwPrefStore); |
59 }; | 59 }; |
60 | 60 |
61 #endif // ANDROID_WEBVIEW_BROWSER_AW_PREF_STORE_H_ | 61 #endif // ANDROID_WEBVIEW_BROWSER_AW_PREF_STORE_H_ |
OLD | NEW |