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

Side by Side Diff: chrome/browser/prefs/tracked/tracked_preference_validation_delegate.h

Issue 620933002: Move all files related to tracked preferences from c/b/prefs to c/b/prefs/tracked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_TRACKED_TRACKED_PREFERENCE_VALIDATION_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_PREFS_TRACKED_TRACKED_PREFERENCE_VALIDATION_DELEGATE_H_
6 #define CHROME_BROWSER_PREFS_TRACKED_TRACKED_PREFERENCE_VALIDATION_DELEGATE_H_ 6 #define CHROME_BROWSER_PREFS_TRACKED_TRACKED_PREFERENCE_VALIDATION_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "chrome/browser/prefs/pref_hash_store_transaction.h" 11 #include "chrome/browser/prefs/tracked/pref_hash_store_transaction.h"
12 #include "chrome/browser/prefs/tracked/tracked_preference_helper.h" 12 #include "chrome/browser/prefs/tracked/tracked_preference_helper.h"
13 13
14 namespace base { 14 namespace base {
15 class DictionaryValue; 15 class DictionaryValue;
16 class Value; 16 class Value;
17 } 17 }
18 18
19 // A TrackedPreferenceValidationDelegate is notified of the results of each 19 // A TrackedPreferenceValidationDelegate is notified of the results of each
20 // tracked preference validation event. 20 // tracked preference validation event.
21 class TrackedPreferenceValidationDelegate { 21 class TrackedPreferenceValidationDelegate {
(...skipping 16 matching lines...) Expand all
38 // and the enforcement level in place. 38 // and the enforcement level in place.
39 virtual void OnSplitPreferenceValidation( 39 virtual void OnSplitPreferenceValidation(
40 const std::string& pref_path, 40 const std::string& pref_path,
41 const base::DictionaryValue* dict_value, 41 const base::DictionaryValue* dict_value,
42 const std::vector<std::string>& invalid_keys, 42 const std::vector<std::string>& invalid_keys,
43 PrefHashStoreTransaction::ValueState value_state, 43 PrefHashStoreTransaction::ValueState value_state,
44 TrackedPreferenceHelper::ResetAction reset_action) = 0; 44 TrackedPreferenceHelper::ResetAction reset_action) = 0;
45 }; 45 };
46 46
47 #endif // CHROME_BROWSER_PREFS_TRACKED_TRACKED_PREFERENCE_VALIDATION_DELEGATE_H _ 47 #endif // CHROME_BROWSER_PREFS_TRACKED_TRACKED_PREFERENCE_VALIDATION_DELEGATE_H _
OLDNEW
« no previous file with comments | « chrome/browser/prefs/tracked/tracked_preference_helper.h ('k') | chrome/browser/prefs/tracked/tracked_preferences_migration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698