OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "build/build_config.h" |
8 #include "content/public/browser/render_frame_host.h" | 9 #include "content/public/browser/render_frame_host.h" |
9 #include "content/public/browser/web_contents.h" | 10 #include "content/public/browser/web_contents.h" |
10 #include "content/public/common/content_switches.h" | 11 #include "content/public/common/content_switches.h" |
11 #include "content/public/renderer/render_frame.h" | 12 #include "content/public/renderer/render_frame.h" |
12 #include "content/public/test/content_browser_test.h" | 13 #include "content/public/test/content_browser_test.h" |
13 #include "content/public/test/content_browser_test_utils.h" | 14 #include "content/public/test/content_browser_test_utils.h" |
14 #include "content/renderer/savable_resources.h" | 15 #include "content/renderer/savable_resources.h" |
15 #include "content/shell/browser/shell.h" | 16 #include "content/shell/browser/shell.h" |
16 #include "net/base/filename_util.h" | 17 #include "net/base/filename_util.h" |
17 #include "testing/gmock/include/gmock/gmock.h" | 18 #include "testing/gmock/include/gmock/gmock.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 130 |
130 auto expected_subresources_matcher = testing::IsEmpty(); | 131 auto expected_subresources_matcher = testing::IsEmpty(); |
131 | 132 |
132 auto expected_subframe_urls_matcher = testing::IsEmpty(); | 133 auto expected_subframe_urls_matcher = testing::IsEmpty(); |
133 | 134 |
134 GetSavableResourceLinksForPage(page_file_path, expected_subresources_matcher, | 135 GetSavableResourceLinksForPage(page_file_path, expected_subresources_matcher, |
135 expected_subframe_urls_matcher); | 136 expected_subframe_urls_matcher); |
136 } | 137 } |
137 | 138 |
138 } // namespace content | 139 } // namespace content |
OLD | NEW |