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 "content/test/content_browser_test_utils_internal.h" | 5 #include "content/test/content_browser_test_utils_internal.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <map> | 10 #include <map> |
9 #include <set> | 11 #include <set> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
13 #include "content/browser/frame_host/frame_tree_node.h" | 15 #include "content/browser/frame_host/frame_tree_node.h" |
14 #include "content/browser/frame_host/navigator.h" | 16 #include "content/browser/frame_host/navigator.h" |
15 #include "content/browser/frame_host/render_frame_proxy_host.h" | 17 #include "content/browser/frame_host/render_frame_proxy_host.h" |
16 #include "content/public/browser/resource_dispatcher_host.h" | 18 #include "content/public/browser/resource_dispatcher_host.h" |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 content::ResourceContext* resource_context, | 263 content::ResourceContext* resource_context, |
262 content::AppCacheService* appcache_service, | 264 content::AppCacheService* appcache_service, |
263 ResourceType resource_type, | 265 ResourceType resource_type, |
264 ScopedVector<content::ResourceThrottle>* throttles) { | 266 ScopedVector<content::ResourceThrottle>* throttles) { |
265 DCHECK_CURRENTLY_ON(content::BrowserThread::IO); | 267 DCHECK_CURRENTLY_ON(content::BrowserThread::IO); |
266 if (request->url() == url_) | 268 if (request->url() == url_) |
267 throttles->push_back(new HttpRequestStallThrottle); | 269 throttles->push_back(new HttpRequestStallThrottle); |
268 } | 270 } |
269 | 271 |
270 } // namespace content | 272 } // namespace content |
OLD | NEW |