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

Side by Side Diff: content/child/socket_stream_dispatcher.cc

Issue 16408017: Use a direct include of utf_string_conversions.h in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
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 "content/child/socket_stream_dispatcher.h" 5 #include "content/child/socket_stream_dispatcher.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/id_map.h" 10 #include "base/id_map.h"
11 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
16 #include "content/child/child_thread.h" 16 #include "content/child/child_thread.h"
17 #include "content/common/socket_stream.h" 17 #include "content/common/socket_stream.h"
18 #include "content/common/socket_stream_handle_data.h" 18 #include "content/common/socket_stream_handle_data.h"
19 #include "content/common/socket_stream_messages.h" 19 #include "content/common/socket_stream_messages.h"
20 #include "googleurl/src/gurl.h" 20 #include "googleurl/src/gurl.h"
21 #include "net/base/net_errors.h" 21 #include "net/base/net_errors.h"
22 #include "webkit/glue/websocketstreamhandle_bridge.h" 22 #include "webkit/glue/websocketstreamhandle_bridge.h"
23 #include "webkit/glue/websocketstreamhandle_delegate.h" 23 #include "webkit/glue/websocketstreamhandle_delegate.h"
24 24
25 namespace content { 25 namespace content {
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 void SocketStreamDispatcher::OnFailed(int socket_id, int error_code) { 277 void SocketStreamDispatcher::OnFailed(int socket_id, int error_code) {
278 IPCWebSocketStreamHandleBridge* bridge = 278 IPCWebSocketStreamHandleBridge* bridge =
279 IPCWebSocketStreamHandleBridge::FromSocketId(socket_id); 279 IPCWebSocketStreamHandleBridge::FromSocketId(socket_id);
280 if (bridge) 280 if (bridge)
281 bridge->OnFailed(error_code, net::ErrorToString(error_code)); 281 bridge->OnFailed(error_code, net::ErrorToString(error_code));
282 else 282 else
283 DLOG(ERROR) << "No bridge for socket_id=" << socket_id; 283 DLOG(ERROR) << "No bridge for socket_id=" << socket_id;
284 } 284 }
285 285
286 } // namespace content 286 } // namespace content
OLDNEW
« no previous file with comments | « content/child/fileapi/webfilesystem_callback_adapters.cc ('k') | content/common/accessibility_node_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698