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 "ios/web/webui/url_data_manager_ios_backend.h" | 5 #include "ios/web/webui/url_data_manager_ios_backend.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/basictypes.h" | |
10 #include "base/bind.h" | 9 #include "base/bind.h" |
11 #include "base/command_line.h" | 10 #include "base/command_line.h" |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
13 #include "base/debug/alias.h" | 12 #include "base/debug/alias.h" |
14 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
| 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/ref_counted_memory.h" | 16 #include "base/memory/ref_counted_memory.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "base/message_loop/message_loop.h" | 18 #include "base/message_loop/message_loop.h" |
19 #include "base/strings/string_util.h" | 19 #include "base/strings/string_util.h" |
20 #include "base/strings/stringprintf.h" | 20 #include "base/strings/stringprintf.h" |
21 #include "base/trace_event/trace_event.h" | 21 #include "base/trace_event/trace_event.h" |
22 #include "ios/web/public/browser_state.h" | 22 #include "ios/web/public/browser_state.h" |
23 #include "ios/web/public/web_client.h" | 23 #include "ios/web/public/web_client.h" |
24 #include "ios/web/public/web_thread.h" | 24 #include "ios/web/public/web_thread.h" |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 // Forward this data on to the pending net::URLRequest, if it exists. | 529 // Forward this data on to the pending net::URLRequest, if it exists. |
530 PendingRequestMap::iterator i = pending_requests_.find(request_id); | 530 PendingRequestMap::iterator i = pending_requests_.find(request_id); |
531 if (i != pending_requests_.end()) { | 531 if (i != pending_requests_.end()) { |
532 URLRequestChromeJob* job(i->second); | 532 URLRequestChromeJob* job(i->second); |
533 pending_requests_.erase(i); | 533 pending_requests_.erase(i); |
534 job->DataAvailable(bytes); | 534 job->DataAvailable(bytes); |
535 } | 535 } |
536 } | 536 } |
537 | 537 |
538 } // namespace web | 538 } // namespace web |
OLD | NEW |