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 #include "chrome/browser/safe_browsing/incident_reporting/preference_validation_
delegate.h" | 5 #include "chrome/browser/safe_browsing/incident_reporting/preference_validation_
delegate.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/bind.h" | 12 #include "base/bind.h" |
11 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "base/values.h" | 15 #include "base/values.h" |
14 #include "chrome/browser/safe_browsing/incident_reporting/incident.h" | 16 #include "chrome/browser/safe_browsing/incident_reporting/incident.h" |
15 #include "chrome/browser/safe_browsing/incident_reporting/mock_incident_receiver
.h" | 17 #include "chrome/browser/safe_browsing/incident_reporting/mock_incident_receiver
.h" |
16 #include "chrome/common/safe_browsing/csd.pb.h" | 18 #include "chrome/common/safe_browsing/csd.pb.h" |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 } | 282 } |
281 | 283 |
282 INSTANTIATE_TEST_CASE_P( | 284 INSTANTIATE_TEST_CASE_P( |
283 WithIncident, | 285 WithIncident, |
284 PreferenceValidationDelegateWithIncident, | 286 PreferenceValidationDelegateWithIncident, |
285 testing::Combine( | 287 testing::Combine( |
286 testing::Values(PrefHashStoreTransaction::CLEARED, | 288 testing::Values(PrefHashStoreTransaction::CLEARED, |
287 PrefHashStoreTransaction::CHANGED, | 289 PrefHashStoreTransaction::CHANGED, |
288 PrefHashStoreTransaction::UNTRUSTED_UNKNOWN_VALUE), | 290 PrefHashStoreTransaction::UNTRUSTED_UNKNOWN_VALUE), |
289 testing::Bool())); | 291 testing::Bool())); |
OLD | NEW |