/external/chromium_org/ppapi/proxy/ |
D | tcp_socket_resource_base.h | 72 scoped_refptr<TrackedCallback> callback); 75 scoped_refptr<TrackedCallback> callback); 77 scoped_refptr<TrackedCallback> callback); 82 scoped_refptr<TrackedCallback> callback); 88 scoped_refptr<TrackedCallback> callback); 91 scoped_refptr<TrackedCallback> callback); 92 int32_t ListenImpl(int32_t backlog, scoped_refptr<TrackedCallback> callback); 94 scoped_refptr<TrackedCallback> callback); 98 scoped_refptr<TrackedCallback> callback); 100 void PostAbortIfNecessary(scoped_refptr<TrackedCallback>* callback); [all …]
|
D | udp_socket_resource_base.h | 52 scoped_refptr<TrackedCallback> callback); 54 scoped_refptr<TrackedCallback> callback); 60 scoped_refptr<TrackedCallback> callback); 65 scoped_refptr<TrackedCallback> callback); 69 void PostAbortIfNecessary(scoped_refptr<TrackedCallback>* callback); 72 void OnPluginMsgSetOptionReply(scoped_refptr<TrackedCallback> callback, 83 void RunCallback(scoped_refptr<TrackedCallback> callback, int32_t pp_result); 89 scoped_refptr<TrackedCallback> bind_callback_; 90 scoped_refptr<TrackedCallback> recvfrom_callback_; 91 scoped_refptr<TrackedCallback> sendto_callback_;
|
D | file_io_resource.h | 23 class TrackedCallback; variable 40 scoped_refptr<TrackedCallback> callback) OVERRIDE; 42 scoped_refptr<TrackedCallback> callback) OVERRIDE; 45 scoped_refptr<TrackedCallback> callback) OVERRIDE; 49 scoped_refptr<TrackedCallback> callback) OVERRIDE; 53 scoped_refptr<TrackedCallback> callback) OVERRIDE; 57 scoped_refptr<TrackedCallback> callback) OVERRIDE; 59 scoped_refptr<TrackedCallback> callback) OVERRIDE; 60 virtual int32_t Flush(scoped_refptr<TrackedCallback> callback) OVERRIDE; 64 scoped_refptr<TrackedCallback> callback) OVERRIDE; [all …]
|
D | tcp_socket_resource_base.cc | 72 scoped_refptr<TrackedCallback> callback) { in BindImpl() 95 scoped_refptr<TrackedCallback> callback) { in ConnectImpl() 117 scoped_refptr<TrackedCallback> callback) { in ConnectWithNetAddressImpl() 156 scoped_refptr<TrackedCallback> callback) { in SSLHandshakeImpl() 161 TrackedCallback::IsPending(read_callback_) || in SSLHandshakeImpl() 162 TrackedCallback::IsPending(write_callback_)) { in SSLHandshakeImpl() 223 scoped_refptr<TrackedCallback> callback) { in ReadImpl() 229 if (TrackedCallback::IsPending(read_callback_) || in ReadImpl() 248 scoped_refptr<TrackedCallback> callback) { in WriteImpl() 254 if (TrackedCallback::IsPending(write_callback_) || in WriteImpl() [all …]
|
D | file_ref_resource.h | 46 scoped_refptr<TrackedCallback> callback) OVERRIDE; 49 scoped_refptr<TrackedCallback> callback) OVERRIDE; 50 virtual int32_t Delete(scoped_refptr<TrackedCallback> callback) OVERRIDE; 52 scoped_refptr<TrackedCallback> callback) OVERRIDE; 54 scoped_refptr<TrackedCallback> callback) OVERRIDE; 57 scoped_refptr<TrackedCallback> callback) OVERRIDE; 68 void RunTrackedCallback(scoped_refptr<TrackedCallback> callback, 72 scoped_refptr<TrackedCallback> callback, 78 scoped_refptr<TrackedCallback> callback,
|
D | udp_socket_resource_base.cc | 59 scoped_refptr<TrackedCallback> callback) { in SetOptionImpl() 101 scoped_refptr<TrackedCallback> callback) { in BindImpl() 106 if (TrackedCallback::IsPending(bind_callback_)) in BindImpl() 134 scoped_refptr<TrackedCallback> callback) { in RecvFromImpl() 139 if (TrackedCallback::IsPending(recvfrom_callback_)) in RecvFromImpl() 168 scoped_refptr<TrackedCallback> callback) { in SendToImpl() 173 if (TrackedCallback::IsPending(sendto_callback_)) in SendToImpl() 209 scoped_refptr<TrackedCallback>* callback) { in PostAbortIfNecessary() 210 if (TrackedCallback::IsPending(*callback)) in PostAbortIfNecessary() 215 scoped_refptr<TrackedCallback> callback, in OnPluginMsgSetOptionReply() [all …]
|
D | output_protection_resource.cc | 28 if (TrackedCallback::IsPending(query_status_callback_)) in ~OutputProtectionResource() 30 if (TrackedCallback::IsPending(enable_protection_callback_)) in ~OutputProtectionResource() 42 const scoped_refptr<TrackedCallback>& callback) { in QueryStatus() 45 if (TrackedCallback::IsPending(query_status_callback_)) in QueryStatus() 67 if (!TrackedCallback::IsPending(query_status_callback_)) in OnPluginMsgQueryStatusReply() 83 const scoped_refptr<TrackedCallback>& callback) { in EnableProtection() 84 if (TrackedCallback::IsPending(enable_protection_callback_)) in EnableProtection() 100 if (TrackedCallback::IsPending(enable_protection_callback_)) in OnPluginMsgEnableProtectionReply()
|
D | truetype_font_resource.h | 18 class TrackedCallback; variable 39 scoped_refptr<TrackedCallback> callback) OVERRIDE; 42 scoped_refptr<TrackedCallback> callback) OVERRIDE; 48 scoped_refptr<TrackedCallback> callback) OVERRIDE; 52 scoped_refptr<TrackedCallback> callback, 57 scoped_refptr<TrackedCallback> callback, 62 scoped_refptr<TrackedCallback> callback,
|
D | flash_drm_resource.cc | 32 scoped_refptr<TrackedCallback> callback) { in GetDeviceID() 60 scoped_refptr<TrackedCallback> callback) { in GetVoucherFile() 76 scoped_refptr<TrackedCallback> callback) { in MonitorIsExternal() 92 scoped_refptr<TrackedCallback> callback, in OnPluginMsgGetDeviceIDReply() 95 if (TrackedCallback::IsPending(callback)) { in OnPluginMsgGetDeviceIDReply() 104 scoped_refptr<TrackedCallback> callback, in OnPluginMsgGetVoucherFileReply() 107 if (TrackedCallback::IsPending(callback)) { in OnPluginMsgGetVoucherFileReply() 120 scoped_refptr<TrackedCallback> callback, in OnPluginMsgMonitorIsExternalReply() 123 if (TrackedCallback::IsPending(callback)) { in OnPluginMsgMonitorIsExternalReply()
|
D | websocket_resource.cc | 82 scoped_refptr<TrackedCallback> callback) { in Connect() 83 if (TrackedCallback::IsPending(connect_callback_)) in Connect() 131 scoped_refptr<TrackedCallback> callback) { in Close() 132 if (TrackedCallback::IsPending(close_callback_)) in Close() 178 if (TrackedCallback::IsPending(connect_callback_)) { in Close() 189 if (TrackedCallback::IsPending(receive_callback_)) { in Close() 207 scoped_refptr<TrackedCallback> callback) { in ReceiveMessage() 208 if (TrackedCallback::IsPending(receive_callback_)) in ReceiveMessage() 366 if (!TrackedCallback::IsPending(connect_callback_) || in OnPluginMsgConnectReply() 367 TrackedCallback::IsScheduledToRun(connect_callback_)) { in OnPluginMsgConnectReply() [all …]
|
D | tcp_server_socket_private_resource.cc | 33 scoped_refptr<TrackedCallback> callback) { in Listen() 38 if (TrackedCallback::IsPending(listen_callback_)) in Listen() 54 scoped_refptr<TrackedCallback> callback) { in Accept() 59 if (TrackedCallback::IsPending(accept_callback_)) in Accept() 87 if (TrackedCallback::IsPending(listen_callback_)) in StopListening() 89 if (TrackedCallback::IsPending(accept_callback_)) in StopListening() 97 !TrackedCallback::IsPending(listen_callback_)) { in OnPluginMsgListenReply() 115 !TrackedCallback::IsPending(accept_callback_)) { in OnPluginMsgAcceptReply()
|
D | video_source_resource.cc | 42 scoped_refptr<TrackedCallback> callback) { in Open() 43 if (TrackedCallback::IsPending(open_callback_)) in Open() 61 scoped_refptr<TrackedCallback> callback) { in GetFrame() 65 if (TrackedCallback::IsPending(get_frame_callback_)) in GetFrame() 79 if (TrackedCallback::IsPending(open_callback_)) in Close() 81 if (TrackedCallback::IsPending(get_frame_callback_)) in Close() 87 if (TrackedCallback::IsPending(open_callback_)) { in OnPluginMsgOpenComplete() 102 if (TrackedCallback::IsPending(get_frame_callback_)) { in OnPluginMsgGetFrameComplete()
|
D | tcp_socket_resource.h | 34 scoped_refptr<TrackedCallback> callback) OVERRIDE; 36 scoped_refptr<TrackedCallback> callback) OVERRIDE; 41 scoped_refptr<TrackedCallback> callback) OVERRIDE; 44 scoped_refptr<TrackedCallback> callback) OVERRIDE; 46 scoped_refptr<TrackedCallback> callback) OVERRIDE; 48 scoped_refptr<TrackedCallback> callback) OVERRIDE; 52 scoped_refptr<TrackedCallback> callback) OVERRIDE;
|
D | talk_resource.h | 30 scoped_refptr<TrackedCallback> callback) OVERRIDE; 34 scoped_refptr<TrackedCallback> callback) OVERRIDE; 36 scoped_refptr<TrackedCallback> callback) OVERRIDE; 48 scoped_refptr<TrackedCallback> permission_callback_; 49 scoped_refptr<TrackedCallback> start_callback_; 50 scoped_refptr<TrackedCallback> stop_callback_;
|
D | flash_drm_resource.h | 33 scoped_refptr<TrackedCallback> callback) OVERRIDE; 37 scoped_refptr<TrackedCallback> callback) OVERRIDE; 40 scoped_refptr<TrackedCallback> callback) OVERRIDE; 44 scoped_refptr<TrackedCallback> callback, 48 scoped_refptr<TrackedCallback> callback, 53 scoped_refptr<TrackedCallback> callback,
|
D | url_loader_resource.h | 46 scoped_refptr<TrackedCallback> callback) OVERRIDE; 49 scoped_refptr<TrackedCallback> callback) OVERRIDE; 51 scoped_refptr<TrackedCallback> callback) OVERRIDE; 61 scoped_refptr<TrackedCallback> callback) OVERRIDE; 63 scoped_refptr<TrackedCallback> callback) OVERRIDE; 105 int32_t ValidateCallback(scoped_refptr<TrackedCallback> callback); 109 void RegisterCallback(scoped_refptr<TrackedCallback> callback); 122 scoped_refptr<TrackedCallback> pending_callback_;
|
/external/chromium_org/ppapi/shared_impl/ |
D | tracked_callback.cc | 30 int32_t RunCompletionTask(TrackedCallback::CompletionTask completion_task, in RunCompletionTask() 43 TrackedCallback::TrackedCallback( in TrackedCallback() function in ppapi::TrackedCallback 83 TrackedCallback::~TrackedCallback() { in ~TrackedCallback() 86 void TrackedCallback::Abort() { in Abort() 90 void TrackedCallback::PostAbort() { in PostAbort() 94 void TrackedCallback::Run(int32_t result) { in Run() 126 scoped_refptr<TrackedCallback> thiz(this); in Run() 157 void TrackedCallback::PostRun(int32_t result) { in PostRun() 174 RunWhileLocked(base::Bind(&TrackedCallback::Run, this, result))); in PostRun() 188 void TrackedCallback::set_completion_task( in set_completion_task() [all …]
|
D | tracked_callback.h | 62 class PPAPI_SHARED_EXPORT TrackedCallback 63 : public base::RefCountedThreadSafe<TrackedCallback> { 68 TrackedCallback(Resource* resource, const PP_CompletionCallback& callback); 128 static bool IsPending(const scoped_refptr<TrackedCallback>& callback); 132 static bool IsScheduledToRun(const scoped_refptr<TrackedCallback>& callback); 161 friend class base::RefCountedThreadSafe<TrackedCallback>; 162 virtual ~TrackedCallback(); 187 DISALLOW_IMPLICIT_CONSTRUCTORS(TrackedCallback);
|
D | tracked_callback_unittest.cc | 101 scoped_refptr<TrackedCallback> callback_did_run = new TrackedCallback( in TEST_F() 111 scoped_refptr<TrackedCallback> callback_did_abort = new TrackedCallback( in TEST_F() 121 scoped_refptr<TrackedCallback> callback_didnt_run = new TrackedCallback( in TEST_F() 158 callback_did_run_ = new TrackedCallback( in SetupForTest() 166 callback_did_run_with_completion_task_ = new TrackedCallback( in SetupForTest() 176 callback_did_abort_ = new TrackedCallback( in SetupForTest() 184 callback_didnt_run_ = new TrackedCallback( in SetupForTest() 241 scoped_refptr<TrackedCallback> callback_did_run_; 244 scoped_refptr<TrackedCallback> callback_did_run_with_completion_task_; 247 scoped_refptr<TrackedCallback> callback_did_abort_; [all …]
|
D | ppb_video_decoder_shared.h | 43 bool SetFlushCallback(scoped_refptr<TrackedCallback> callback); 44 bool SetResetCallback(scoped_refptr<TrackedCallback> callback); 46 scoped_refptr<TrackedCallback> callback); 62 typedef std::map<int32, scoped_refptr<TrackedCallback> > CallbackById; 64 scoped_refptr<TrackedCallback> flush_callback_; 65 scoped_refptr<TrackedCallback> reset_callback_;
|
/external/chromium_org/ppapi/thunk/ |
D | ppb_file_io_api.h | 15 class TrackedCallback; variable 25 scoped_refptr<TrackedCallback> callback) = 0; 27 scoped_refptr<TrackedCallback> callback) = 0; 30 scoped_refptr<TrackedCallback> callback) = 0; 34 scoped_refptr<TrackedCallback> callback) = 0; 38 scoped_refptr<TrackedCallback> callback) = 0; 42 scoped_refptr<TrackedCallback> callback) = 0; 44 scoped_refptr<TrackedCallback> callback) = 0; 45 virtual int32_t Flush(scoped_refptr<TrackedCallback> callback) = 0; 51 scoped_refptr<TrackedCallback> callback) = 0;
|
D | ppb_tcp_socket_api.h | 14 class TrackedCallback; variable 23 scoped_refptr<TrackedCallback> callback) = 0; 25 scoped_refptr<TrackedCallback> callback) = 0; 30 scoped_refptr<TrackedCallback> callback) = 0; 33 scoped_refptr<TrackedCallback> callback) = 0; 35 scoped_refptr<TrackedCallback> callback) = 0; 37 scoped_refptr<TrackedCallback> callback) = 0; 41 scoped_refptr<TrackedCallback> callback) = 0;
|
D | ppb_file_ref_api.h | 19 class TrackedCallback; variable 32 scoped_refptr<TrackedCallback> callback) = 0; 35 scoped_refptr<TrackedCallback> callback) = 0; 36 virtual int32_t Delete(scoped_refptr<TrackedCallback> callback) = 0; 38 scoped_refptr<TrackedCallback> callback) = 0; 40 scoped_refptr<TrackedCallback> callback) = 0; 43 scoped_refptr<TrackedCallback> callback) = 0;
|
D | ppb_tcp_socket_private_api.h | 14 class TrackedCallback; variable 24 scoped_refptr<TrackedCallback> callback) = 0; 27 scoped_refptr<TrackedCallback> callback) = 0; 32 scoped_refptr<TrackedCallback> callback) = 0; 38 scoped_refptr<TrackedCallback> callback) = 0; 41 scoped_refptr<TrackedCallback> callback) = 0; 45 scoped_refptr<TrackedCallback> callback) = 0;
|
D | ppb_url_loader_api.h | 14 class TrackedCallback; variable 26 scoped_refptr<TrackedCallback> callback) = 0; 33 scoped_refptr<TrackedCallback> callback) = 0; 35 virtual int32_t FollowRedirect(scoped_refptr<TrackedCallback> callback) = 0; 43 scoped_refptr<TrackedCallback> callback) = 0; 45 scoped_refptr<TrackedCallback> callback) = 0;
|