/external/chromium_org/ppapi/cpp/dev/ |
H A D | file_chooser_dev.cc | 48 const CompletionCallbackWithOutput< std::vector<FileRef> >& callback) { 52 callback.output(), 53 callback.pp_completion_callback()); 56 // Data for our callback wrapper. The callback handler will delete it. 59 data->output = callback.output(); 60 data->original_callback = callback.pp_completion_callback(); 65 return callback.MayForce(PP_ERROR_NOINTERFACE); 97 // Now execute the original callback. 47 Show( const CompletionCallbackWithOutput< std::vector<FileRef> >& callback) argument
|
/external/chromium_org/ppapi/cpp/ |
H A D | message_loop.cc | 70 int32_t MessageLoop::PostWork(const CompletionCallback& callback, argument 76 callback.pp_completion_callback(),
|
/external/chromium_org/ppapi/cpp/private/ |
H A D | flash_drm.cc | 48 int32_t DRM::GetDeviceID(const CompletionCallbackWithOutput<Var>& callback) { argument 52 callback.output(), 53 callback.pp_completion_callback()); 58 callback.output(), 59 callback.pp_completion_callback()); 64 callback.output(), 65 callback.pp_completion_callback()); 67 return callback.MayForce(PP_ERROR_NOINTERFACE); 85 const CompletionCallbackWithOutput<FileRef>& callback) { 89 callback 84 GetVoucherFile( const CompletionCallbackWithOutput<FileRef>& callback) argument 101 MonitorIsExternal( const CompletionCallbackWithOutput<PP_Bool>& callback) argument [all...] |
H A D | host_resolver_private.cc | 41 const CompletionCallback& callback) { 43 return callback.MayForce(PP_ERROR_NOINTERFACE); 49 callback.pp_completion_callback()); 38 Resolve(const std::string& host, uint16_t port, const PP_HostResolver_Private_Hint& hint, const CompletionCallback& callback) argument
|
H A D | output_protection_private.cc | 39 const CompletionCallback& callback) { 43 callback.pp_completion_callback()); 45 return callback.MayForce(PP_ERROR_NOINTERFACE); 50 const CompletionCallback& callback) { 54 callback.pp_completion_callback()); 56 return callback.MayForce(PP_ERROR_NOINTERFACE); 36 QueryStatus( uint32_t* link_mask, uint32_t* protection_mask, const CompletionCallback& callback) argument 48 EnableProtection( uint32_t desired_method_mask, const CompletionCallback& callback) argument
|
H A D | platform_verification.cc | 45 const CompletionCallback& callback) { 47 return callback.MayForce(PP_ERROR_NOINTERFACE); 54 callback.pp_completion_callback()); 39 ChallengePlatform( const Var& service_id, const Var& challenge, Var* signed_data, Var* signed_data_signature, Var* platform_key_certificate, const CompletionCallback& callback) argument
|
H A D | tcp_server_socket_private.cc | 47 const CompletionCallback& callback) { 50 pp_resource(), addr, backlog, callback.pp_completion_callback()); 54 pp_resource(), addr, backlog, callback.pp_completion_callback()); 56 return callback.MayForce(PP_ERROR_NOINTERFACE); 60 const CompletionCallback& callback) { 63 pp_resource(), tcp_socket, callback.pp_completion_callback()); 67 pp_resource(), tcp_socket, callback.pp_completion_callback()); 69 return callback.MayForce(PP_ERROR_NOINTERFACE); 45 Listen(const PP_NetAddress_Private* addr, int32_t backlog, const CompletionCallback& callback) argument 59 Accept(PP_Resource* tcp_socket, const CompletionCallback& callback) argument
|
/external/chromium_org/ppapi/cpp/trusted/ |
H A D | file_chooser_trusted.cc | 56 const CompletionCallbackWithOutput< std::vector<FileRef> >& callback) { 62 callback.output(), 63 callback.pp_completion_callback()); 66 // Data for our callback. The callback handler will delete it. 69 data->output = callback.output(); 70 data->original_callback = callback.pp_completion_callback(); 78 return callback.MayForce(PP_ERROR_NOINTERFACE); 55 Show( const CompletionCallbackWithOutput< std::vector<FileRef> >& callback) argument
|
/external/chromium_org/ppapi/native_client/tests/nacl_browser/browser_dynamic_library/ |
H A D | browser_dlopen_test.cc | 35 PP_CompletionCallback callback = PP_MakeCompletionCallback( local 38 PPBCore()->CallOnMainThread(0, callback, PP_OK);
|
/external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/ |
H A D | testable_callback.cc | 25 // by the "Handler" which represents the actual callback code. 41 // This is the actual callback, all it does is record 45 TestableCallback* callback = static_cast<TestableCallback*>(user_data); local 46 callback->result_ = result; 47 callback->have_result_ = true; 48 ++callback->run_count_; 49 if (callback->post_quit_task_) { 50 callback->post_quit_task_ = false; 51 PPBTestingPrivate()->QuitMessageLoop(callback->instance_);
|
/external/chromium_org/ppapi/proxy/ |
H A D | network_proxy_resource.cc | 33 scoped_refptr<TrackedCallback> callback) { 43 callback)); 49 scoped_refptr<TrackedCallback> callback, 52 if (!TrackedCallback::IsPending(callback)) { 53 // The callback should not have already been run. If this resource is 55 // callback and should not run this callback. 62 callback->Run(params.result()); 29 GetProxyForURL( PP_Instance , PP_Var url, PP_Var* proxy_string, scoped_refptr<TrackedCallback> callback) argument 47 OnPluginMsgGetProxyForURLReply( PP_Var* proxy_string_out_param, scoped_refptr<TrackedCallback> callback, const ResourceMessageReplyParams& params, const std::string& proxy_string) argument
|
H A D | plugin_resource_callback.h | 18 // |MsgClass| is the reply message type that the callback will be called with 33 explicit PluginResourceCallback(const CallbackType& callback) argument 34 : callback_(callback) {}
|
H A D | printing_resource.cc | 29 scoped_refptr<TrackedCallback> callback) { 40 this, print_settings, callback)); 46 scoped_refptr<TrackedCallback> callback, 53 callback->Run(params.result()); 27 GetDefaultPrintSettings( PP_PrintSettings_Dev* print_settings, scoped_refptr<TrackedCallback> callback) argument 44 OnPluginMsgGetDefaultPrintSettingsReply( PP_PrintSettings_Dev* settings_out, scoped_refptr<TrackedCallback> callback, const ResourceMessageReplyParams& params, const PP_PrintSettings_Dev& settings) argument
|
/external/chromium_org/ppapi/tests/ |
H A D | test_flash_message_loop.cc | 34 pp::CompletionCallback callback = callback_factory_.NewCallback( local 36 pp::Module::Get()->core()->CallOnMainThread(0, callback); 50 pp::CompletionCallback callback = callback_factory_.NewCallback( local 52 pp::Module::Get()->core()->CallOnMainThread(0, callback);
|
/external/chromium_org/ppapi/thunk/ |
H A D | ppb_broker_thunk.cc | 31 PP_CompletionCallback callback) { 32 EnterResource<PPB_Broker_API> enter(resource, callback, true); 35 return enter.SetResult(enter.object()->Connect(enter.callback())); 30 Connect(PP_Resource resource, PP_CompletionCallback callback) argument
|
H A D | ppb_display_color_profile_private_thunk.cc | 37 struct PP_CompletionCallback callback) { 40 callback, 45 enter.callback())); 50 struct PP_CompletionCallback callback) { 54 callback, 59 enter.callback())); 35 GetColorProfile(PP_Resource display_color_profile_res, struct PP_ArrayOutput color_profile, struct PP_CompletionCallback callback) argument 48 RegisterColorProfileChangeCallback( PP_Resource display_color_profile_res, struct PP_CompletionCallback callback) argument
|
H A D | ppb_file_chooser_trusted_thunk.cc | 24 struct PP_CompletionCallback callback) { 26 EnterResource<PPB_FileChooser_API> enter(chooser, callback, true); 32 enter.callback())); 39 struct PP_CompletionCallback callback) { 41 EnterResource<PPB_FileChooser_API> enter(chooser, callback, true); 48 enter.callback())); 21 ShowWithoutUserGesture_0_5(PP_Resource chooser, PP_Bool save_as, struct PP_Var suggested_file_name, struct PP_CompletionCallback callback) argument 35 ShowWithoutUserGesture(PP_Resource chooser, PP_Bool save_as, struct PP_Var suggested_file_name, struct PP_ArrayOutput output, struct PP_CompletionCallback callback) argument
|
H A D | ppb_file_mapping_thunk.cc | 27 struct PP_CompletionCallback callback) { 29 EnterInstanceAPI<PPB_FileMapping_API> enter(instance, callback); 39 enter.callback())); 45 struct PP_CompletionCallback callback) { 47 EnterInstanceAPI<PPB_FileMapping_API> enter(instance, callback); 53 enter.callback())); 20 Map(PP_Instance instance, PP_Resource file_io, int64_t length, uint32_t map_protection, uint32_t map_flags, int64_t offset, void** address, struct PP_CompletionCallback callback) argument 42 Unmap(PP_Instance instance, const void* address, int64_t length, struct PP_CompletionCallback callback) argument
|
H A D | ppb_file_system_thunk.cc | 36 struct PP_CompletionCallback callback) { 38 EnterResource<PPB_FileSystem_API> enter(file_system, callback, true); 41 return enter.SetResult(enter.object()->Open(expected_size, enter.callback())); 34 Open(PP_Resource file_system, int64_t expected_size, struct PP_CompletionCallback callback) argument
|
H A D | ppb_flash_menu_thunk.cc | 34 PP_CompletionCallback callback) { 35 EnterResource<PPB_Flash_Menu_API> enter(resource, callback, true); 39 enter.callback())); 31 Show(PP_Resource resource, const PP_Point* location, int32_t* selected_id, PP_CompletionCallback callback) argument
|
H A D | ppb_network_monitor_thunk.cc | 30 struct PP_CompletionCallback callback) { 32 EnterResource<PPB_NetworkMonitor_API> enter(network_monitor, callback, true); 36 enter.callback())); 28 UpdateNetworkList(PP_Resource network_monitor, PP_Resource* network_list, struct PP_CompletionCallback callback) argument
|
H A D | ppb_output_protection_private_thunk.cc | 38 struct PP_CompletionCallback callback) { 40 EnterResource<PPB_OutputProtection_API> enter(resource, callback, true); 45 enter.callback())); 50 struct PP_CompletionCallback callback) { 52 EnterResource<PPB_OutputProtection_API> enter(resource, callback, true); 57 enter.callback())); 35 QueryStatus(PP_Resource resource, uint32_t* link_mask, uint32_t* protection_mask, struct PP_CompletionCallback callback) argument 48 EnableProtection(PP_Resource resource, uint32_t desired_protection_mask, struct PP_CompletionCallback callback) argument
|
H A D | ppb_platform_verification_private_thunk.cc | 41 struct PP_CompletionCallback callback) { 43 EnterResource<PPB_PlatformVerification_API> enter(instance, callback, true); 52 enter.callback())); 35 ChallengePlatform(PP_Resource instance, struct PP_Var service_id, struct PP_Var challenge, struct PP_Var* signed_data, struct PP_Var* signed_data_signature, struct PP_Var* platform_key_certificate, struct PP_CompletionCallback callback) argument
|
H A D | ppb_uma_private_thunk.cc | 71 struct PP_CompletionCallback callback) { 73 EnterInstanceAPI<PPB_UMA_Singleton_API> enter(instance, callback); 78 enter.callback())); 70 IsCrashReportingEnabled(PP_Instance instance, struct PP_CompletionCallback callback) argument
|
H A D | ppb_video_destination_private_thunk.cc | 35 PP_CompletionCallback callback) { 37 callback, true); 40 return enter.SetResult(enter.object()->Open(stream_url, enter.callback())); 33 Open(PP_Resource destination, PP_Var stream_url, PP_CompletionCallback callback) argument
|