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

Side by Side Diff: net/websockets/websocket_basic_handshake_stream.h

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 | « net/url_request/url_request_job.cc ('k') | net/websockets/websocket_basic_handshake_stream.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_ 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_ 6 #define NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const CompletionCallback& callback) override; 50 const CompletionCallback& callback) override;
51 int ReadResponseHeaders(const CompletionCallback& callback) override; 51 int ReadResponseHeaders(const CompletionCallback& callback) override;
52 int ReadResponseBody(IOBuffer* buf, 52 int ReadResponseBody(IOBuffer* buf,
53 int buf_len, 53 int buf_len,
54 const CompletionCallback& callback) override; 54 const CompletionCallback& callback) override;
55 void Close(bool not_reusable) override; 55 void Close(bool not_reusable) override;
56 bool IsResponseBodyComplete() const override; 56 bool IsResponseBodyComplete() const override;
57 bool IsConnectionReused() const override; 57 bool IsConnectionReused() const override;
58 void SetConnectionReused() override; 58 void SetConnectionReused() override;
59 bool CanReuseConnection() const override; 59 bool CanReuseConnection() const override;
60 int64 GetTotalReceivedBytes() const override; 60 int64_t GetTotalReceivedBytes() const override;
61 int64_t GetTotalSentBytes() const override; 61 int64_t GetTotalSentBytes() const override;
62 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; 62 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;
63 void GetSSLInfo(SSLInfo* ssl_info) override; 63 void GetSSLInfo(SSLInfo* ssl_info) override;
64 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; 64 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override;
65 void Drain(HttpNetworkSession* session) override; 65 void Drain(HttpNetworkSession* session) override;
66 void SetPriority(RequestPriority priority) override; 66 void SetPriority(RequestPriority priority) override;
67 UploadProgress GetUploadProgress() const override; 67 UploadProgress GetUploadProgress() const override;
68 HttpStream* RenewStreamForAuth() override; 68 HttpStream* RenewStreamForAuth() override;
69 69
70 70
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 scoped_ptr<WebSocketExtensionParams> extension_params_; 135 scoped_ptr<WebSocketExtensionParams> extension_params_;
136 136
137 std::string* failure_message_; 137 std::string* failure_message_;
138 138
139 DISALLOW_COPY_AND_ASSIGN(WebSocketBasicHandshakeStream); 139 DISALLOW_COPY_AND_ASSIGN(WebSocketBasicHandshakeStream);
140 }; 140 };
141 141
142 } // namespace net 142 } // namespace net
143 143
144 #endif // NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_ 144 #endif // NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_job.cc ('k') | net/websockets/websocket_basic_handshake_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698