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

Side by Side Diff: chrome/browser/prefs/pref_hash_store.h

Issue 151003004: Add an automatic settings reset banner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pre-review cleanup. Created 6 years, 10 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
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 CHROME_BROWSER_PREFS_PREF_HASH_STORE_H_ 5 #ifndef CHROME_BROWSER_PREFS_PREF_HASH_STORE_H_
6 #define CHROME_BROWSER_PREFS_PREF_HASH_STORE_H_ 6 #define CHROME_BROWSER_PREFS_PREF_HASH_STORE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual ValueState CheckSplitValue( 71 virtual ValueState CheckSplitValue(
72 const std::string& path, 72 const std::string& path,
73 const base::DictionaryValue* initial_split_value, 73 const base::DictionaryValue* initial_split_value,
74 std::vector<std::string>* invalid_keys) const = 0; 74 std::vector<std::string>* invalid_keys) const = 0;
75 75
76 // Stores hashes for the |value| of the split preference at |path|. 76 // Stores hashes for the |value| of the split preference at |path|.
77 // |split_value| being an empty dictionary or NULL is equivalent. 77 // |split_value| being an empty dictionary or NULL is equivalent.
78 virtual void StoreSplitHash( 78 virtual void StoreSplitHash(
79 const std::string& path, 79 const std::string& path,
80 const base::DictionaryValue* split_value) = 0; 80 const base::DictionaryValue* split_value) = 0;
81
82 // Records that a pref reset event has taken place.
83 virtual void RecordResetEvent() = 0;
81 }; 84 };
82 85
83 #endif // CHROME_BROWSER_PREFS_PREF_HASH_STORE_H_ 86 #endif // CHROME_BROWSER_PREFS_PREF_HASH_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698