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

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

Issue 10699043: Move Pepper files in renderer_host to new subdir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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_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_message_filter.h" 11 #include "content/browser/renderer_host/pepper/pepper_message_filter.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 #include "net/base/io_buffer.h" 13 #include "net/base/io_buffer.h"
14 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
15 #include "net/udp/udp_server_socket.h" 15 #include "net/udp/udp_server_socket.h"
16 #include "ppapi/proxy/ppapi_messages.h" 16 #include "ppapi/proxy/ppapi_messages.h"
17 #include "ppapi/shared_impl/private/net_address_private_impl.h" 17 #include "ppapi/shared_impl/private/net_address_private_impl.h"
18 18
19 using content::BrowserThread; 19 using content::BrowserThread;
20 using ppapi::NetAddressPrivateImpl; 20 using ppapi::NetAddressPrivateImpl;
21 21
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 if (result < 0) { 154 if (result < 0) {
155 SendSendToACKError(); 155 SendSendToACKError();
156 } else { 156 } else {
157 manager_->Send(new PpapiMsg_PPBUDPSocket_SendToACK( 157 manager_->Send(new PpapiMsg_PPBUDPSocket_SendToACK(
158 routing_id_, plugin_dispatcher_id_, socket_id_, true, result)); 158 routing_id_, plugin_dispatcher_id_, socket_id_, true, result));
159 } 159 }
160 160
161 sendto_buffer_ = NULL; 161 sendto_buffer_ = NULL;
162 } 162 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/pepper/pepper_udp_socket.h ('k') | content/browser/renderer_host/pepper_file_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698