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

Side by Side Diff: content/renderer/pepper/pepper_device_enumeration_host_helper.cc

Issue 19620002: Use a direct include of the message_loop header in content/, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/renderer/pepper/pepper_device_enumeration_host_helper.h" 5 #include "content/renderer/pepper/pepper_device_enumeration_host_helper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "ipc/ipc_message.h" 11 #include "ipc/ipc_message.h"
12 #include "ppapi/c/pp_errors.h" 12 #include "ppapi/c/pp_errors.h"
13 #include "ppapi/host/dispatch_host_message.h" 13 #include "ppapi/host/dispatch_host_message.h"
14 #include "ppapi/host/host_message_context.h" 14 #include "ppapi/host/host_message_context.h"
15 #include "ppapi/host/ppapi_host.h" 15 #include "ppapi/host/ppapi_host.h"
16 #include "ppapi/host/resource_host.h" 16 #include "ppapi/host/resource_host.h"
17 #include "ppapi/proxy/ppapi_messages.h" 17 #include "ppapi/proxy/ppapi_messages.h"
18 #include "ppapi/shared_impl/ppb_device_ref_shared.h" 18 #include "ppapi/shared_impl/ppb_device_ref_shared.h"
19 #include "webkit/plugins/ppapi/plugin_delegate.h" 19 #include "webkit/plugins/ppapi/plugin_delegate.h"
20 20
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 bool succeeded, 191 bool succeeded,
192 const std::vector<ppapi::DeviceRefData>& devices) { 192 const std::vector<ppapi::DeviceRefData>& devices) {
193 resource_host_->host()->SendUnsolicitedReply( 193 resource_host_->host()->SendUnsolicitedReply(
194 resource_host_->pp_resource(), 194 resource_host_->pp_resource(),
195 PpapiPluginMsg_DeviceEnumeration_NotifyDeviceChange( 195 PpapiPluginMsg_DeviceEnumeration_NotifyDeviceChange(
196 callback_id, 196 callback_id,
197 succeeded ? devices : std::vector<ppapi::DeviceRefData>())); 197 succeeded ? devices : std::vector<ppapi::DeviceRefData>()));
198 } 198 }
199 199
200 } // namespace content 200 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/p2p/ipc_socket_factory.cc ('k') | content/renderer/pepper/pepper_graphics_2d_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698