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

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

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_RESPONSE_INFO_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_RESPONSE_INFO_H_
7
8 #include <string>
9
10 #include "base/memory/ref_counted.h"
11 #include "base/time/time.h"
12 #include "net/base/net_export.h"
13 #include "url/gurl.h"
14
15 namespace net {
16
17 class HttpResponseHeaders;
18
19 struct NET_EXPORT WebSocketHandshakeResponseInfo {
20 WebSocketHandshakeResponseInfo(const GURL& url,
21 int status_code,
22 const std::string& status_text,
23 scoped_refptr<HttpResponseHeaders> headers,
24 base::Time response_time);
25 ~WebSocketHandshakeResponseInfo();
26 // The request URL
27 GURL url;
28 // HTTP status code
29 int status_code;
30 // HTTP status text
31 std::string status_text;
32 // HTTP response headers
33 scoped_refptr<HttpResponseHeaders> headers;
34 // The time that this response arrived
35 base::Time response_time;
36
37 private:
38 DISALLOW_COPY_AND_ASSIGN(WebSocketHandshakeResponseInfo);
39 };
40
41 } // namespace net
42
43 #endif // NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_RESPONSE_INFO_H_
OLDNEW
« no previous file with comments | « net/websockets/websocket_handshake_request_info.cc ('k') | net/websockets/websocket_handshake_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698