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 #ifndef COMPONENTS_TEST_RUNNER_MOCK_WEB_DOCUMENT_SUBRESOURCE_FILTER_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_MOCK_WEB_DOCUMENT_SUBRESOURCE_FILTER_H_ |
6 #define COMPONENTS_TEST_RUNNER_MOCK_WEB_DOCUMENT_SUBRESOURCE_FILTER_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_MOCK_WEB_DOCUMENT_SUBRESOURCE_FILTER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "third_party/WebKit/public/platform/WebDocumentSubresourceFilter.h" | 12 #include "third_party/WebKit/public/platform/WebDocumentSubresourceFilter.h" |
13 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 13 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 class WebURL; | 16 class WebURL; |
(...skipping 14 matching lines...) Expand all Loading... |
31 void reportDisallowedLoad() override; | 31 void reportDisallowedLoad() override; |
32 | 32 |
33 private: | 33 private: |
34 std::vector<std::string> disallowed_path_suffixes_; | 34 std::vector<std::string> disallowed_path_suffixes_; |
35 | 35 |
36 DISALLOW_COPY_AND_ASSIGN(MockWebDocumentSubresourceFilter); | 36 DISALLOW_COPY_AND_ASSIGN(MockWebDocumentSubresourceFilter); |
37 }; | 37 }; |
38 | 38 |
39 } // namespace test_runner | 39 } // namespace test_runner |
40 | 40 |
41 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEB_DOCUMENT_SUBRESOURCE_FILTER_H_ | 41 #endif // CONTENT_SHELL_TEST_RUNNER_MOCK_WEB_DOCUMENT_SUBRESOURCE_FILTER_H_ |
OLD | NEW |