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

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

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 #include "net/websockets/websocket_handshake_response_info.h" 5 #include "net/websockets/websocket_handshake_response_info.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "net/http/http_response_headers.h" 11 #include "net/http/http_response_headers.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 WebSocketHandshakeResponseInfo::WebSocketHandshakeResponseInfo( 16 WebSocketHandshakeResponseInfo::WebSocketHandshakeResponseInfo(
17 const GURL& url, 17 const GURL& url,
18 int status_code, 18 int status_code,
19 const std::string& status_text, 19 const std::string& status_text,
20 scoped_refptr<HttpResponseHeaders> headers, 20 scoped_refptr<HttpResponseHeaders> headers,
21 base::Time response_time) 21 base::Time response_time)
22 : url(url), 22 : url(url),
23 status_code(status_code), 23 status_code(status_code),
24 status_text(status_text), 24 status_text(status_text),
25 headers(headers), 25 headers(headers),
26 response_time(response_time) {} 26 response_time(response_time) {
27 }
27 28
28 WebSocketHandshakeResponseInfo::~WebSocketHandshakeResponseInfo() {} 29 WebSocketHandshakeResponseInfo::~WebSocketHandshakeResponseInfo() {
30 }
29 31
30 } // namespace net 32 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698