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

Side by Side Diff: content/common/websocket.h

Issue 1050053002: Use of base::StringPairs appropriately in content WebSocket (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « AUTHORS ('k') | no next file » | 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 CONTENT_COMMON_WEBSOCKET_H_ 5 #ifndef CONTENT_COMMON_WEBSOCKET_H_
6 #define CONTENT_COMMON_WEBSOCKET_H_ 6 #define CONTENT_COMMON_WEBSOCKET_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 WebSocketHandshakeResponse(); 45 WebSocketHandshakeResponse();
46 ~WebSocketHandshakeResponse(); 46 ~WebSocketHandshakeResponse();
47 47
48 // The request URL 48 // The request URL
49 GURL url; 49 GURL url;
50 // HTTP status code 50 // HTTP status code
51 int status_code; 51 int status_code;
52 // HTTP status text 52 // HTTP status text
53 std::string status_text; 53 std::string status_text;
54 // Additional HTTP response headers 54 // Additional HTTP response headers
55 std::vector<std::pair<std::string, std::string> > headers; 55 base::StringPairs headers;
56 // HTTP response headers raw string 56 // HTTP response headers raw string
57 std::string headers_text; 57 std::string headers_text;
58 // The time that this response arrives 58 // The time that this response arrives
59 base::Time response_time; 59 base::Time response_time;
60 }; 60 };
61 61
62 } // namespace content 62 } // namespace content
63 63
64 #endif // CONTENT_COMMON_WEBSOCKET_H_ 64 #endif // CONTENT_COMMON_WEBSOCKET_H_
OLDNEW
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698