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

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

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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_SPLIT_PREFERENCE_H_ 5 #ifndef CHROME_BROWSER_PREFS_TRACKED_TRACKED_SPLIT_PREFERENCE_H_
6 #define CHROME_BROWSER_PREFS_TRACKED_TRACKED_SPLIT_PREFERENCE_H_ 6 #define CHROME_BROWSER_PREFS_TRACKED_TRACKED_SPLIT_PREFERENCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 13 matching lines...) Expand all
24 public: 24 public:
25 // Constructs a TrackedSplitPreference. |pref_path| must be a dictionary pref. 25 // Constructs a TrackedSplitPreference. |pref_path| must be a dictionary pref.
26 TrackedSplitPreference(const std::string& pref_path, 26 TrackedSplitPreference(const std::string& pref_path,
27 size_t reporting_id, 27 size_t reporting_id,
28 size_t reporting_ids_count, 28 size_t reporting_ids_count,
29 PrefHashFilter::EnforcementLevel enforcement_level, 29 PrefHashFilter::EnforcementLevel enforcement_level,
30 TrackedPreferenceValidationDelegate* delegate); 30 TrackedPreferenceValidationDelegate* delegate);
31 31
32 // TrackedPreference implementation. 32 // TrackedPreference implementation.
33 virtual void OnNewValue(const base::Value* value, 33 virtual void OnNewValue(const base::Value* value,
34 PrefHashStoreTransaction* transaction) const OVERRIDE; 34 PrefHashStoreTransaction* transaction) const override;
35 virtual bool EnforceAndReport( 35 virtual bool EnforceAndReport(
36 base::DictionaryValue* pref_store_contents, 36 base::DictionaryValue* pref_store_contents,
37 PrefHashStoreTransaction* transaction) const OVERRIDE; 37 PrefHashStoreTransaction* transaction) const override;
38 38
39 private: 39 private:
40 const std::string pref_path_; 40 const std::string pref_path_;
41 const TrackedPreferenceHelper helper_; 41 const TrackedPreferenceHelper helper_;
42 TrackedPreferenceValidationDelegate* delegate_; 42 TrackedPreferenceValidationDelegate* delegate_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(TrackedSplitPreference); 44 DISALLOW_COPY_AND_ASSIGN(TrackedSplitPreference);
45 }; 45 };
46 46
47 #endif // CHROME_BROWSER_PREFS_TRACKED_TRACKED_SPLIT_PREFERENCE_H_ 47 #endif // CHROME_BROWSER_PREFS_TRACKED_TRACKED_SPLIT_PREFERENCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698