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

Side by Side Diff: net/http/http_stream_parser.h

Issue 8568021: Add OVERRIDE to net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: net only Created 9 years, 1 month 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
« no previous file with comments | « net/http/http_stream_factory_impl_request.h ('k') | net/http/http_transaction_unittest.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_HTTP_HTTP_STREAM_PARSER_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_PARSER_H_
6 #define NET_HTTP_HTTP_STREAM_PARSER_H_ 6 #define NET_HTTP_HTTP_STREAM_PARSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 void SetConnectionReused(); 68 void SetConnectionReused();
69 69
70 bool IsConnectionReusable() const; 70 bool IsConnectionReusable() const;
71 71
72 void GetSSLInfo(SSLInfo* ssl_info); 72 void GetSSLInfo(SSLInfo* ssl_info);
73 73
74 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info); 74 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info);
75 75
76 // ChunkCallback methods. 76 // ChunkCallback methods.
77 virtual void OnChunkAvailable(); 77 virtual void OnChunkAvailable() OVERRIDE;
78 78
79 private: 79 private:
80 // FOO_COMPLETE states implement the second half of potentially asynchronous 80 // FOO_COMPLETE states implement the second half of potentially asynchronous
81 // operations and don't necessarily mean that FOO is complete. 81 // operations and don't necessarily mean that FOO is complete.
82 enum State { 82 enum State {
83 STATE_NONE, 83 STATE_NONE,
84 STATE_SENDING_HEADERS, 84 STATE_SENDING_HEADERS,
85 STATE_SENDING_BODY, 85 STATE_SENDING_BODY,
86 STATE_REQUEST_SENT, 86 STATE_REQUEST_SENT,
87 STATE_READ_HEADERS, 87 STATE_READ_HEADERS,
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 size_t chunk_length_; 197 size_t chunk_length_;
198 size_t chunk_length_without_encoding_; 198 size_t chunk_length_without_encoding_;
199 bool sent_last_chunk_; 199 bool sent_last_chunk_;
200 200
201 DISALLOW_COPY_AND_ASSIGN(HttpStreamParser); 201 DISALLOW_COPY_AND_ASSIGN(HttpStreamParser);
202 }; 202 };
203 203
204 } // namespace net 204 } // namespace net
205 205
206 #endif // NET_HTTP_HTTP_STREAM_PARSER_H_ 206 #endif // NET_HTTP_HTTP_STREAM_PARSER_H_
OLDNEW
« no previous file with comments | « net/http/http_stream_factory_impl_request.h ('k') | net/http/http_transaction_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698