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

Side by Side Diff: net/http/failing_http_transaction_factory.cc

Issue 1316863007: Change GetTotalReceivedBytes() from int64 to int64_t. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased on master Created 5 years, 3 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
« no previous file with comments | « chrome/browser/devtools/devtools_network_transaction.cc ('k') | net/http/http_basic_stream.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 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 "net/http/failing_http_transaction_factory.h" 5 #include "net/http/failing_http_transaction_factory.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 int RestartWithCertificate(X509Certificate* client_cert, 43 int RestartWithCertificate(X509Certificate* client_cert,
44 const CompletionCallback& callback) override; 44 const CompletionCallback& callback) override;
45 int RestartWithAuth(const AuthCredentials& credentials, 45 int RestartWithAuth(const AuthCredentials& credentials,
46 const CompletionCallback& callback) override; 46 const CompletionCallback& callback) override;
47 bool IsReadyToRestartForAuth() override; 47 bool IsReadyToRestartForAuth() override;
48 int Read(IOBuffer* buf, 48 int Read(IOBuffer* buf,
49 int buf_len, 49 int buf_len,
50 const CompletionCallback& callback) override; 50 const CompletionCallback& callback) override;
51 void StopCaching() override; 51 void StopCaching() override;
52 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override; 52 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override;
53 int64 GetTotalReceivedBytes() const override; 53 int64_t GetTotalReceivedBytes() const override;
54 int64_t GetTotalSentBytes() const override; 54 int64_t GetTotalSentBytes() const override;
55 void DoneReading() override; 55 void DoneReading() override;
56 const HttpResponseInfo* GetResponseInfo() const override; 56 const HttpResponseInfo* GetResponseInfo() const override;
57 LoadState GetLoadState() const override; 57 LoadState GetLoadState() const override;
58 UploadProgress GetUploadProgress() const override; 58 UploadProgress GetUploadProgress() const override;
59 void SetQuicServerInfo(QuicServerInfo* quic_server_info) override; 59 void SetQuicServerInfo(QuicServerInfo* quic_server_info) override;
60 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; 60 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;
61 void SetPriority(RequestPriority priority) override; 61 void SetPriority(RequestPriority priority) override;
62 void SetWebSocketHandshakeStreamCreateHelper( 62 void SetWebSocketHandshakeStreamCreateHelper(
63 WebSocketHandshakeStreamBase::CreateHelper* create_helper) override; 63 WebSocketHandshakeStreamBase::CreateHelper* create_helper) override;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 HttpCache* FailingHttpTransactionFactory::GetCache() { 200 HttpCache* FailingHttpTransactionFactory::GetCache() {
201 return NULL; 201 return NULL;
202 } 202 }
203 203
204 HttpNetworkSession* FailingHttpTransactionFactory::GetSession() { 204 HttpNetworkSession* FailingHttpTransactionFactory::GetSession() {
205 return session_; 205 return session_;
206 } 206 }
207 207
208 } // namespace net 208 } // namespace net
209 209
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_network_transaction.cc ('k') | net/http/http_basic_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698