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 "content/browser/loader/async_resource_handler.h" | 5 #include "content/browser/loader/async_resource_handler.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/containers/hash_tables.h" |
11 #include "base/debug/alias.h" | 12 #include "base/debug/alias.h" |
12 #include "base/hash_tables.h" | |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
15 #include "base/process_util.h" | 15 #include "base/process_util.h" |
16 #include "base/shared_memory.h" | 16 #include "base/shared_memory.h" |
17 #include "base/string_number_conversions.h" | 17 #include "base/string_number_conversions.h" |
18 #include "content/browser/devtools/devtools_netlog_observer.h" | 18 #include "content/browser/devtools/devtools_netlog_observer.h" |
19 #include "content/browser/host_zoom_map_impl.h" | 19 #include "content/browser/host_zoom_map_impl.h" |
20 #include "content/browser/loader/resource_buffer.h" | 20 #include "content/browser/loader/resource_buffer.h" |
21 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 21 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
22 #include "content/browser/loader/resource_message_filter.h" | 22 #include "content/browser/loader/resource_message_filter.h" |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 } | 356 } |
357 | 357 |
358 void AsyncResourceHandler::ResumeIfDeferred() { | 358 void AsyncResourceHandler::ResumeIfDeferred() { |
359 if (did_defer_) { | 359 if (did_defer_) { |
360 did_defer_ = false; | 360 did_defer_ = false; |
361 controller()->Resume(); | 361 controller()->Resume(); |
362 } | 362 } |
363 } | 363 } |
364 | 364 |
365 } // namespace content | 365 } // namespace content |
OLD | NEW |