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

Side by Side Diff: content/browser/renderer_host/pepper/pepper_udp_socket.cc

Issue 11618049: Cleanup: Remove unneeded browser_thread.h includes in contents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 7 years, 11 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/browser/renderer_host/pepper/pepper_udp_socket.h" 5 #include "content/browser/renderer_host/pepper/pepper_udp_socket.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "content/browser/renderer_host/pepper/pepper_message_filter.h" 11 #include "content/browser/renderer_host/pepper/pepper_message_filter.h"
12 #include "content/public/browser/browser_thread.h"
13 #include "net/base/io_buffer.h" 12 #include "net/base/io_buffer.h"
14 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
15 #include "net/udp/udp_server_socket.h" 14 #include "net/udp/udp_server_socket.h"
16 #include "ppapi/proxy/ppapi_messages.h" 15 #include "ppapi/proxy/ppapi_messages.h"
17 #include "ppapi/shared_impl/private/net_address_private_impl.h" 16 #include "ppapi/shared_impl/private/net_address_private_impl.h"
18 #include "ppapi/shared_impl/private/udp_socket_private_impl.h" 17 #include "ppapi/shared_impl/private/udp_socket_private_impl.h"
19 18
20 using ppapi::NetAddressPrivateImpl; 19 using ppapi::NetAddressPrivateImpl;
21 20
22 namespace content { 21 namespace content {
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 SendSendToACKError(); 185 SendSendToACKError();
187 } else { 186 } else {
188 manager_->Send(new PpapiMsg_PPBUDPSocket_SendToACK( 187 manager_->Send(new PpapiMsg_PPBUDPSocket_SendToACK(
189 routing_id_, plugin_dispatcher_id_, socket_id_, true, result)); 188 routing_id_, plugin_dispatcher_id_, socket_id_, true, result));
190 } 189 }
191 190
192 sendto_buffer_ = NULL; 191 sendto_buffer_ = NULL;
193 } 192 }
194 193
195 } // namespace content 194 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698