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

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

Issue 16652007: Use a direct include of strings headers in net/test/, net/third_party/, net/tools/, net/udp/, net/u… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « net/websockets/websocket_net_log_params.cc ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_throttle.h" 5 #include "net/websockets/websocket_throttle.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "net/base/io_buffer.h" 16 #include "net/base/io_buffer.h"
17 #include "net/socket_stream/socket_stream.h" 17 #include "net/socket_stream/socket_stream.h"
18 #include "net/websockets/websocket_job.h" 18 #include "net/websockets/websocket_job.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 WebSocketThrottle::WebSocketThrottle() { 22 WebSocketThrottle::WebSocketThrottle() {
23 } 23 }
24 24
25 WebSocketThrottle::~WebSocketThrottle() { 25 WebSocketThrottle::~WebSocketThrottle() {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 should_wakeup = false; 110 should_wakeup = false;
111 break; 111 break;
112 } 112 }
113 } 113 }
114 if (should_wakeup) 114 if (should_wakeup)
115 job->Wakeup(); 115 job->Wakeup();
116 } 116 }
117 } 117 }
118 118
119 } // namespace net 119 } // namespace net
OLDNEW
« no previous file with comments | « net/websockets/websocket_net_log_params.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698