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

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

Issue 2469713002: Remove an unused file defining WebSocket multiplexing related constants (Closed)
Patch Set: a Created 4 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
« no previous file with comments | « net/net.gypi ('k') | net/websockets/websocket_channel_test.cc » ('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 #include "net/websockets/websocket_channel.h" 5 #include "net/websockets/websocket_channel.h"
6 6
7 #include <limits.h> // for INT_MAX 7 #include <limits.h> // for INT_MAX
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 17 matching lines...) Expand all
28 #include "net/http/http_request_headers.h" 28 #include "net/http/http_request_headers.h"
29 #include "net/http/http_response_headers.h" 29 #include "net/http/http_response_headers.h"
30 #include "net/http/http_util.h" 30 #include "net/http/http_util.h"
31 #include "net/log/net_log_with_source.h" 31 #include "net/log/net_log_with_source.h"
32 #include "net/websockets/websocket_errors.h" 32 #include "net/websockets/websocket_errors.h"
33 #include "net/websockets/websocket_event_interface.h" 33 #include "net/websockets/websocket_event_interface.h"
34 #include "net/websockets/websocket_frame.h" 34 #include "net/websockets/websocket_frame.h"
35 #include "net/websockets/websocket_handshake_request_info.h" 35 #include "net/websockets/websocket_handshake_request_info.h"
36 #include "net/websockets/websocket_handshake_response_info.h" 36 #include "net/websockets/websocket_handshake_response_info.h"
37 #include "net/websockets/websocket_handshake_stream_create_helper.h" 37 #include "net/websockets/websocket_handshake_stream_create_helper.h"
38 #include "net/websockets/websocket_mux.h"
39 #include "net/websockets/websocket_stream.h" 38 #include "net/websockets/websocket_stream.h"
40 #include "url/origin.h" 39 #include "url/origin.h"
41 40
42 namespace net { 41 namespace net {
43 42
44 namespace { 43 namespace {
45 44
46 using base::StreamingUtf8Validator; 45 using base::StreamingUtf8Validator;
47 46
48 const int kDefaultSendQuotaLowWaterMark = 1 << 16; 47 const int kDefaultSendQuotaLowWaterMark = 1 << 16;
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 } 1196 }
1198 1197
1199 void WebSocketChannel::CloseTimeout() { 1198 void WebSocketChannel::CloseTimeout() {
1200 stream_->Close(); 1199 stream_->Close();
1201 SetState(CLOSED); 1200 SetState(CLOSED);
1202 DoDropChannel(false, kWebSocketErrorAbnormalClosure, ""); 1201 DoDropChannel(false, kWebSocketErrorAbnormalClosure, "");
1203 // |this| has been deleted. 1202 // |this| has been deleted.
1204 } 1203 }
1205 1204
1206 } // namespace net 1205 } // namespace net
OLDNEW
« no previous file with comments | « net/net.gypi ('k') | net/websockets/websocket_channel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698