OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #import "ios/net/crn_http_protocol_handler.h" | 5 #import "ios/net/crn_http_protocol_handler.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include <vector> | 9 #include <vector> |
8 | 10 |
9 #include "base/command_line.h" | 11 #include "base/command_line.h" |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
11 #include "base/mac/bind_objc_block.h" | 13 #include "base/mac/bind_objc_block.h" |
12 #include "base/mac/scoped_nsobject.h" | 14 #include "base/mac/scoped_nsobject.h" |
| 15 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
15 #include "base/single_thread_task_runner.h" | 18 #include "base/single_thread_task_runner.h" |
16 #include "base/strings/string_util.h" | 19 #include "base/strings/string_util.h" |
17 #include "base/strings/sys_string_conversions.h" | 20 #include "base/strings/sys_string_conversions.h" |
18 #include "base/strings/utf_string_conversions.h" | 21 #include "base/strings/utf_string_conversions.h" |
19 #import "ios/net/clients/crn_network_client_protocol.h" | 22 #import "ios/net/clients/crn_network_client_protocol.h" |
20 #import "ios/net/crn_http_protocol_handler_proxy_with_client_thread.h" | 23 #import "ios/net/crn_http_protocol_handler_proxy_with_client_thread.h" |
21 #import "ios/net/http_protocol_logging.h" | 24 #import "ios/net/http_protocol_logging.h" |
22 #include "ios/net/nsurlrequest_util.h" | 25 #include "ios/net/nsurlrequest_util.h" |
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 [[DeferredCancellation alloc] initWithCore:[self getCore]]; | 1095 [[DeferredCancellation alloc] initWithCore:[self getCore]]; |
1093 NSArray* modes = @[ [[NSRunLoop currentRunLoop] currentMode] ]; | 1096 NSArray* modes = @[ [[NSRunLoop currentRunLoop] currentMode] ]; |
1094 [cancellation performSelector:@selector(cancel) | 1097 [cancellation performSelector:@selector(cancel) |
1095 onThread:[self getClientThread] | 1098 onThread:[self getClientThread] |
1096 withObject:nil | 1099 withObject:nil |
1097 waitUntilDone:NO | 1100 waitUntilDone:NO |
1098 modes:modes]; | 1101 modes:modes]; |
1099 } | 1102 } |
1100 | 1103 |
1101 @end | 1104 @end |
OLD | NEW |