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

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

Issue 2366893002: net: address review comments for NetLogWithSource renaming (Closed)
Patch Set: Created 4 years, 2 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/http/http_auth_handler_factory.h ('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 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 // A class that stores the common state between HttpBasicStream and 5 // A class that stores the common state between HttpBasicStream and
6 // WebSocketBasicHandshakeStream. 6 // WebSocketBasicHandshakeStream.
7 7
8 #ifndef NET_HTTP_HTTP_BASIC_STATE_H_ 8 #ifndef NET_HTTP_HTTP_BASIC_STATE_H_
9 #define NET_HTTP_HTTP_BASIC_STATE_H_ 9 #define NET_HTTP_HTTP_BASIC_STATE_H_
10 10
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "net/base/completion_callback.h" 16 #include "net/base/completion_callback.h"
17 #include "net/base/net_export.h" 17 #include "net/base/net_export.h"
18 #include "net/base/request_priority.h" 18 #include "net/base/request_priority.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 class NetLogWithSource;
23 class ClientSocketHandle; 22 class ClientSocketHandle;
24 class GrowableIOBuffer; 23 class GrowableIOBuffer;
25 class HttpStreamParser; 24 class HttpStreamParser;
26 struct HttpRequestInfo; 25 struct HttpRequestInfo;
26 class NetLogWithSource;
27 27
28 class NET_EXPORT_PRIVATE HttpBasicState { 28 class NET_EXPORT_PRIVATE HttpBasicState {
29 public: 29 public:
30 HttpBasicState(std::unique_ptr<ClientSocketHandle> connection, 30 HttpBasicState(std::unique_ptr<ClientSocketHandle> connection,
31 bool using_proxy, 31 bool using_proxy,
32 bool http_09_on_non_default_ports_enabled); 32 bool http_09_on_non_default_ports_enabled);
33 ~HttpBasicState(); 33 ~HttpBasicState();
34 34
35 // Initialize() must be called before using any of the other methods. 35 // Initialize() must be called before using any of the other methods.
36 int Initialize(const HttpRequestInfo* request_info, 36 int Initialize(const HttpRequestInfo* request_info,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 const bool http_09_on_non_default_ports_enabled_; 71 const bool http_09_on_non_default_ports_enabled_;
72 72
73 const HttpRequestInfo* request_info_; 73 const HttpRequestInfo* request_info_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(HttpBasicState); 75 DISALLOW_COPY_AND_ASSIGN(HttpBasicState);
76 }; 76 };
77 77
78 } // namespace net 78 } // namespace net
79 79
80 #endif // NET_HTTP_HTTP_BASIC_STATE_H_ 80 #endif // NET_HTTP_HTTP_BASIC_STATE_H_
OLDNEW
« no previous file with comments | « net/http/http_auth_handler_factory.h ('k') | net/http/http_basic_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698