OLD | NEW |
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_MOCK_VALIDATION_DELEGATE_H_ | 5 #ifndef COMPONENTS_USER_PREFS_TRACKED_MOCK_VALIDATION_DELEGATE_H_ |
6 #define COMPONENTS_USER_PREFS_TRACKED_MOCK_VALIDATION_DELEGATE_H_ | 6 #define COMPONENTS_USER_PREFS_TRACKED_MOCK_VALIDATION_DELEGATE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 14 #include "base/macros.h" |
13 #include "components/user_prefs/tracked/pref_hash_filter.h" | 15 #include "components/user_prefs/tracked/pref_hash_filter.h" |
14 #include "components/user_prefs/tracked/pref_hash_store_transaction.h" | 16 #include "components/user_prefs/tracked/pref_hash_store_transaction.h" |
15 #include "components/user_prefs/tracked/tracked_preference_validation_delegate.h
" | 17 #include "components/user_prefs/tracked/tracked_preference_validation_delegate.h
" |
16 | 18 |
17 // A mock tracked preference validation delegate for use by tests. | 19 // A mock tracked preference validation delegate for use by tests. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 PrefHashStoreTransaction::ValueState value_state, | 67 PrefHashStoreTransaction::ValueState value_state, |
66 bool is_personal, | 68 bool is_personal, |
67 PrefHashFilter::PrefTrackingStrategy strategy); | 69 PrefHashFilter::PrefTrackingStrategy strategy); |
68 | 70 |
69 std::vector<ValidationEvent> validations_; | 71 std::vector<ValidationEvent> validations_; |
70 | 72 |
71 DISALLOW_COPY_AND_ASSIGN(MockValidationDelegate); | 73 DISALLOW_COPY_AND_ASSIGN(MockValidationDelegate); |
72 }; | 74 }; |
73 | 75 |
74 #endif // COMPONENTS_USER_PREFS_TRACKED_MOCK_VALIDATION_DELEGATE_H_ | 76 #endif // COMPONENTS_USER_PREFS_TRACKED_MOCK_VALIDATION_DELEGATE_H_ |
OLD | NEW |