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 BASE_PREFS_PERSISTENT_PREF_STORE_H_ | 5 #ifndef BASE_PREFS_PERSISTENT_PREF_STORE_H_ |
6 #define BASE_PREFS_PERSISTENT_PREF_STORE_H_ | 6 #define BASE_PREFS_PERSISTENT_PREF_STORE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/prefs/base_prefs_export.h" | 10 #include "base/prefs/base_prefs_export.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 // CommitPendingWrite() this does not immediately sync to disk, instead it | 68 // CommitPendingWrite() this does not immediately sync to disk, instead it |
69 // triggers an eventual write if there is lossy data pending and if there | 69 // triggers an eventual write if there is lossy data pending and if there |
70 // isn't one scheduled already. | 70 // isn't one scheduled already. |
71 virtual void SchedulePendingLossyWrites() = 0; | 71 virtual void SchedulePendingLossyWrites() = 0; |
72 | 72 |
73 protected: | 73 protected: |
74 ~PersistentPrefStore() override {} | 74 ~PersistentPrefStore() override {} |
75 }; | 75 }; |
76 | 76 |
77 #endif // BASE_PREFS_PERSISTENT_PREF_STORE_H_ | 77 #endif // BASE_PREFS_PERSISTENT_PREF_STORE_H_ |
OLD | NEW |