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

Side by Side Diff: components/user_prefs/tracked/tracked_preference_helper.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 COMPONENTS_USER_PREFS_TRACKED_TRACKED_PREFERENCE_HELPER_H_ 5 #ifndef COMPONENTS_USER_PREFS_TRACKED_TRACKED_PREFERENCE_HELPER_H_
6 #define COMPONENTS_USER_PREFS_TRACKED_TRACKED_PREFERENCE_HELPER_H_ 6 #define COMPONENTS_USER_PREFS_TRACKED_TRACKED_PREFERENCE_HELPER_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #include "components/user_prefs/tracked/pref_hash_filter.h" 13 #include "components/user_prefs/tracked/pref_hash_filter.h"
12 #include "components/user_prefs/tracked/pref_hash_store_transaction.h" 14 #include "components/user_prefs/tracked/pref_hash_store_transaction.h"
13 15
14 // A TrackedPreferenceHelper is a helper class for TrackedPreference which 16 // A TrackedPreferenceHelper is a helper class for TrackedPreference which
15 // handles decision making and reporting for TrackedPreference's 17 // handles decision making and reporting for TrackedPreference's
16 // implementations. 18 // implementations.
17 class TrackedPreferenceHelper { 19 class TrackedPreferenceHelper {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 60
59 // Deny setting changes and hash seeding/migration. 61 // Deny setting changes and hash seeding/migration.
60 const bool enforce_; 62 const bool enforce_;
61 63
62 const bool personal_; 64 const bool personal_;
63 65
64 DISALLOW_COPY_AND_ASSIGN(TrackedPreferenceHelper); 66 DISALLOW_COPY_AND_ASSIGN(TrackedPreferenceHelper);
65 }; 67 };
66 68
67 #endif // COMPONENTS_USER_PREFS_TRACKED_TRACKED_PREFERENCE_HELPER_H_ 69 #endif // COMPONENTS_USER_PREFS_TRACKED_TRACKED_PREFERENCE_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698