Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: ios/net/crn_http_protocol_handler_proxy_with_client_thread.mm

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/net/crn_http_protocol_handler.mm ('k') | ios/net/request_tracker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_proxy_with_client_thread.h" 5 #import "ios/net/crn_http_protocol_handler_proxy_with_client_thread.h"
6 6
7 #include <stddef.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #import "base/mac/scoped_nsobject.h" 10 #import "base/mac/scoped_nsobject.h"
9 #include "base/time/time.h" 11 #include "base/time/time.h"
10 #import "ios/net/protocol_handler_util.h" 12 #import "ios/net/protocol_handler_util.h"
11 #include "net/base/auth.h" 13 #include "net/base/auth.h"
12 #include "net/url_request/url_request.h" 14 #include "net/url_request/url_request.h"
13 15
14 // When the protocol is invalidated, no synchronization (lock) is needed: 16 // When the protocol is invalidated, no synchronization (lock) is needed:
15 // - The actual calls to the protocol and its invalidation are all done on 17 // - The actual calls to the protocol and its invalidation are all done on
16 // clientThread_ and thus are serialized. 18 // clientThread_ and thus are serialized.
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 } 257 }
256 258
257 - (void)resume { 259 - (void)resume {
258 DCHECK([NSThread currentThread] == _clientThread); 260 DCHECK([NSThread currentThread] == _clientThread);
259 DCHECK(!_requestComplete || !_protocol); 261 DCHECK(!_requestComplete || !_protocol);
260 _paused = NO; 262 _paused = NO;
261 [self runInvocationQueueOnClientThread]; 263 [self runInvocationQueueOnClientThread];
262 } 264 }
263 265
264 @end 266 @end
OLDNEW
« no previous file with comments | « ios/net/crn_http_protocol_handler.mm ('k') | ios/net/request_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698