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

Side by Side Diff: components/cronet/android/url_request_peer.cc

Issue 230443005: Move cronet from //net into //components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to r262794 Created 6 years, 8 months 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 | Annotate | Revision Log
OLDNEW
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 "url_request_peer.h" 5 #include "url_request_peer.h"
6 6
7 #include "base/strings/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 #include "net/base/load_flags.h" 8 #include "net/base/load_flags.h"
9 #include "net/http/http_status_code.h" 9 #include "net/http/http_status_code.h"
10 10
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 url_request_ = NULL; 287 url_request_ = NULL;
288 } 288 }
289 289
290 delegate_->OnBytesRead(this); 290 delegate_->OnBytesRead(this);
291 delegate_->OnRequestFinished(this); 291 delegate_->OnRequestFinished(this);
292 } 292 }
293 293
294 unsigned char* URLRequestPeer::Data() const { 294 unsigned char* URLRequestPeer::Data() const {
295 return reinterpret_cast<unsigned char*>(read_buffer_->StartOfBuffer()); 295 return reinterpret_cast<unsigned char*>(read_buffer_->StartOfBuffer());
296 } 296 }
OLDNEW
« no previous file with comments | « components/cronet/android/url_request_peer.h ('k') | net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698