Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: base/prefs/persistent_pref_store.h

Issue 668783004: Standardize usage of virtual/override/final in base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/prefs/overlay_user_pref_store.h ('k') | base/prefs/pref_change_registrar.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // Reads the preferences from disk asynchronously. Notifies observers via 61 // Reads the preferences from disk asynchronously. Notifies observers via
62 // "PrefStore::OnInitializationCompleted" when done. Also it fires 62 // "PrefStore::OnInitializationCompleted" when done. Also it fires
63 // |error_delegate| if it is not NULL and reading error has occurred. 63 // |error_delegate| if it is not NULL and reading error has occurred.
64 // Owns |error_delegate|. 64 // Owns |error_delegate|.
65 virtual void ReadPrefsAsync(ReadErrorDelegate* error_delegate) = 0; 65 virtual void ReadPrefsAsync(ReadErrorDelegate* error_delegate) = 0;
66 66
67 // Lands any pending writes to disk. 67 // Lands any pending writes to disk.
68 virtual void CommitPendingWrite() = 0; 68 virtual void CommitPendingWrite() = 0;
69 69
70 protected: 70 protected:
71 virtual ~PersistentPrefStore() {} 71 ~PersistentPrefStore() override {}
72 }; 72 };
73 73
74 #endif // BASE_PREFS_PERSISTENT_PREF_STORE_H_ 74 #endif // BASE_PREFS_PERSISTENT_PREF_STORE_H_
OLDNEW
« no previous file with comments | « base/prefs/overlay_user_pref_store.h ('k') | base/prefs/pref_change_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698