OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "components/subresource_filter/content/browser/content_subresource_filt
er_driver_factory.h" | 5 #include "components/subresource_filter/content/browser/content_subresource_filt
er_driver_factory.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
| 12 #include "base/message_loop/message_loop.h" |
12 #include "base/metrics/field_trial.h" | 13 #include "base/metrics/field_trial.h" |
13 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
14 #include "base/test/histogram_tester.h" | 15 #include "base/test/histogram_tester.h" |
15 #include "components/safe_browsing_db/util.h" | 16 #include "components/safe_browsing_db/util.h" |
16 #include "components/subresource_filter/content/browser/content_activation_list_
utils.h" | 17 #include "components/subresource_filter/content/browser/content_activation_list_
utils.h" |
17 #include "components/subresource_filter/content/browser/subresource_filter_clien
t.h" | 18 #include "components/subresource_filter/content/browser/subresource_filter_clien
t.h" |
18 #include "components/subresource_filter/content/common/subresource_filter_messag
es.h" | 19 #include "components/subresource_filter/content/common/subresource_filter_messag
es.h" |
19 #include "components/subresource_filter/core/browser/subresource_filter_features
.h" | 20 #include "components/subresource_filter/core/browser/subresource_filter_features
.h" |
20 #include "components/subresource_filter/core/browser/subresource_filter_features
_test_support.h" | 21 #include "components/subresource_filter/core/browser/subresource_filter_features
_test_support.h" |
21 #include "components/subresource_filter/core/common/activation_list.h" | 22 #include "components/subresource_filter/core/common/activation_list.h" |
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
896 ActivationScopeTest, | 897 ActivationScopeTest, |
897 ContentSubresourceFilterDriverFactoryActivationScopeTest, | 898 ContentSubresourceFilterDriverFactoryActivationScopeTest, |
898 ::testing::ValuesIn(kActivationScopeTestData)); | 899 ::testing::ValuesIn(kActivationScopeTestData)); |
899 | 900 |
900 INSTANTIATE_TEST_CASE_P( | 901 INSTANTIATE_TEST_CASE_P( |
901 ActivationLevelTest, | 902 ActivationLevelTest, |
902 ContentSubresourceFilterDriverFactoryActivationLevelTest, | 903 ContentSubresourceFilterDriverFactoryActivationLevelTest, |
903 ::testing::ValuesIn(kActivationLevelTestData)); | 904 ::testing::ValuesIn(kActivationLevelTestData)); |
904 | 905 |
905 } // namespace subresource_filter | 906 } // namespace subresource_filter |
OLD | NEW |