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

Side by Side Diff: ppapi/proxy/ppb_file_ref_proxy.cc

Issue 10168026: Delete FunctionGroupBase from Pepper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « ppapi/proxy/ppb_audio_proxy.cc ('k') | ppapi/proxy/ppb_file_system_proxy.cc » ('j') | 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 "ppapi/proxy/ppb_file_ref_proxy.h" 5 #include "ppapi/proxy/ppb_file_ref_proxy.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "ppapi/c/pp_errors.h" 10 #include "ppapi/c/pp_errors.h"
11 #include "ppapi/c/ppb_file_ref.h" 11 #include "ppapi/c/ppb_file_ref.h"
12 #include "ppapi/c/private/ppb_file_ref_private.h" 12 #include "ppapi/c/private/ppb_file_ref_private.h"
13 #include "ppapi/c/private/ppb_proxy_private.h" 13 #include "ppapi/c/private/ppb_proxy_private.h"
14 #include "ppapi/proxy/enter_proxy.h" 14 #include "ppapi/proxy/enter_proxy.h"
15 #include "ppapi/proxy/host_dispatcher.h" 15 #include "ppapi/proxy/host_dispatcher.h"
16 #include "ppapi/proxy/plugin_dispatcher.h" 16 #include "ppapi/proxy/plugin_dispatcher.h"
17 #include "ppapi/proxy/ppapi_messages.h" 17 #include "ppapi/proxy/ppapi_messages.h"
18 #include "ppapi/proxy/serialized_var.h" 18 #include "ppapi/proxy/serialized_var.h"
19 #include "ppapi/shared_impl/ppb_file_ref_shared.h" 19 #include "ppapi/shared_impl/ppb_file_ref_shared.h"
20 #include "ppapi/shared_impl/tracked_callback.h" 20 #include "ppapi/shared_impl/tracked_callback.h"
21 #include "ppapi/thunk/resource_creation_api.h" 21 #include "ppapi/thunk/resource_creation_api.h"
22 #include "ppapi/thunk/thunk.h" 22 #include "ppapi/thunk/thunk.h"
23 23
24 using ppapi::thunk::EnterFunctionNoLock;
25 using ppapi::thunk::EnterResourceNoLock; 24 using ppapi::thunk::EnterResourceNoLock;
26 using ppapi::thunk::PPB_FileRef_API; 25 using ppapi::thunk::PPB_FileRef_API;
27 using ppapi::thunk::ResourceCreationAPI; 26 using ppapi::thunk::ResourceCreationAPI;
28 27
29 namespace ppapi { 28 namespace ppapi {
30 namespace proxy { 29 namespace proxy {
31 30
32 class FileRef : public PPB_FileRef_Shared { 31 class FileRef : public PPB_FileRef_Shared {
33 public: 32 public:
34 explicit FileRef(const PPB_FileRef_CreateInfo& info); 33 explicit FileRef(const PPB_FileRef_CreateInfo& info);
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 int32_t result, 336 int32_t result,
338 const HostResource& host_resource, 337 const HostResource& host_resource,
339 int callback_id) { 338 int callback_id) {
340 // Execute OnMsgCallbackComplete in the plugin process. 339 // Execute OnMsgCallbackComplete in the plugin process.
341 Send(new PpapiMsg_PPBFileRef_CallbackComplete( 340 Send(new PpapiMsg_PPBFileRef_CallbackComplete(
342 API_ID_PPB_FILE_REF, host_resource, callback_id, result)); 341 API_ID_PPB_FILE_REF, host_resource, callback_id, result));
343 } 342 }
344 343
345 } // namespace proxy 344 } // namespace proxy
346 } // namespace ppapi 345 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_audio_proxy.cc ('k') | ppapi/proxy/ppb_file_system_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698