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

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

Issue 324493002: Move preference MACs to the protected preference stores. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment typo. Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « base/prefs/persistent_pref_store.h ('k') | base/prefs/value_map_pref_store.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 BASE_PREFS_PREF_FILTER_H_ 5 #ifndef BASE_PREFS_PREF_FILTER_H_
6 #define BASE_PREFS_PREF_FILTER_H_ 6 #define BASE_PREFS_PREF_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 27 matching lines...) Expand all
38 // to external users (see SegregatedPrefStore::ReadPrefs() for an example). 38 // to external users (see SegregatedPrefStore::ReadPrefs() for an example).
39 virtual void FilterOnLoad( 39 virtual void FilterOnLoad(
40 const PostFilterOnLoadCallback& post_filter_on_load_callback, 40 const PostFilterOnLoadCallback& post_filter_on_load_callback,
41 scoped_ptr<base::DictionaryValue> pref_store_contents) = 0; 41 scoped_ptr<base::DictionaryValue> pref_store_contents) = 0;
42 42
43 // Receives notification when a pref store value is changed, before Observers 43 // Receives notification when a pref store value is changed, before Observers
44 // are notified. 44 // are notified.
45 virtual void FilterUpdate(const std::string& path) = 0; 45 virtual void FilterUpdate(const std::string& path) = 0;
46 46
47 // Receives notification when the pref store is about to serialize data 47 // Receives notification when the pref store is about to serialize data
48 // contained in |pref_store_contents| to a string. 48 // contained in |pref_store_contents| to a string. Modifications to
49 // |pref_store_contents| will be persisted to disk and also affect the
50 // in-memory state.
49 virtual void FilterSerializeData( 51 virtual void FilterSerializeData(
50 const base::DictionaryValue* pref_store_contents) = 0; 52 base::DictionaryValue* pref_store_contents) = 0;
51 }; 53 };
52 54
53 #endif // BASE_PREFS_PREF_FILTER_H_ 55 #endif // BASE_PREFS_PREF_FILTER_H_
OLDNEW
« no previous file with comments | « base/prefs/persistent_pref_store.h ('k') | base/prefs/value_map_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698