Searched refs:callback_ (Results 1 - 25 of 858) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/download/
H A Ddownload_completion_blocker.cc17 // Do not run |callback_| more than once.
22 if (callback_.is_null())
24 callback_.Run();
25 // |callback_| may delete |this|, so do not rely on |this| after running
26 // |callback_|!
H A Ddownload_completion_blocker.h25 callback_ = callback;
29 // blockers may continue to block the item.) Run |callback_|. This method may
30 // only be called once, so |callback_| will only be called once. Subclasses
36 base::Closure callback_; member in class:DownloadCompletionBlocker
/external/chromium_org/cc/resources/
H A Dsingle_release_callback.cc13 : has_been_run_(false), callback_(callback) {
14 DCHECK(!callback_.is_null())
19 DCHECK(callback_.is_null() || has_been_run_)
26 callback_.Run(sync_point, is_lost);
H A Dsingle_release_callback_impl.cc15 : has_been_run_(false), callback_(callback) {
16 DCHECK(!callback_.is_null())
21 DCHECK(callback_.is_null() || has_been_run_)
31 callback_.Run(sync_point, is_lost, main_thread_task_runner);
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
H A Dincident_report_uploader.cc13 : callback_(callback) {
/external/chromium_org/content/browser/geolocation/
H A Dlocation_provider_base.cc16 if (!callback_.is_null())
17 callback_.Run(this, position);
22 callback_ = callback;
/external/chromium_org/remoting/host/
H A Dipc_audio_capturer.cc22 DCHECK(callback_.is_null());
25 callback_ = callback;
31 callback_.Reset();
36 return !callback_.is_null();
40 callback_.Run(packet.Pass());
H A Dipc_mouse_cursor_monitor.cc14 : callback_(NULL),
22 DCHECK(!callback_);
25 callback_ = callback;
37 DCHECK(callback_);
38 callback_->OnMouseCursor(cursor.release());
H A Dipc_video_frame_capturer.cc15 : callback_(NULL),
25 DCHECK(!callback_);
27 callback_ = callback;
41 callback_->OnCaptureCompleted(frame.release());
H A Dfake_mouse_cursor_monitor.cc15 FakeMouseCursorMonitor::FakeMouseCursorMonitor() : callback_(NULL) {}
22 DCHECK(!callback_);
28 callback_ = callback;
32 DCHECK(callback_);
46 callback_->OnMouseCursor(mouse_cursor.release());
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_registration_utility_stub.cc27 callback_ = callback;
35 if (callback_.is_null())
37 callback_.Run(GoogleServiceAuthError(GoogleServiceAuthError::NONE), token);
38 callback_.Reset();
43 if (callback_.is_null())
46 callback_.Run(error, std::string());
47 callback_.Reset();
/external/chromium_org/content/browser/
H A Dpepper_flash_settings_helper_impl.cc32 if (!callback_.is_null())
39 callback_ = callback;
56 DCHECK(!callback_.is_null());
59 callback_.Run(true, channel_handle);
61 callback_.Run(false, IPC::ChannelHandle());
63 callback_.Reset();
/external/chromium_org/ppapi/thunk/
H A Denter.cc60 callback_ = new TrackedCallback(resource_, callback);
70 callback_ = new TrackedCallback(resource_, callback);
75 // callback_ is cleared any time it is run, scheduled to be run, or once we
78 DCHECK(!callback_.get())
79 << "|callback_| is not NULL. Did you forget to call "
84 if (!callback_.get()) {
92 if (callback_->is_blocking()) {
94 retval_ = callback_->BlockUntilComplete();
102 if (callback_->is_required()) {
104 callback_
[all...]
/external/chromium_org/ui/gl/android/
H A Dsurface_texture_listener.cc15 : callback_(callback),
28 browser_loop_->PostTask(FROM_HERE, callback_);
30 callback_.Run();
/external/chromium_org/base/synchronization/
H A Dwaitable_event_watcher_win.cc23 callback_ = callback;
29 callback_.Reset();
40 EventCallback callback = callback_;
42 callback_.Reset();
/external/chromium_org/media/base/
H A Dmock_audio_renderer_sink.cc14 callback_ = renderer;
H A Dfake_audio_renderer_sink.cc13 callback_(NULL) {
17 DCHECK(!callback_);
23 DCHECK(!callback_);
26 callback_ = callback;
36 callback_ = NULL;
60 *frames_written = callback_->Render(dest, audio_delay_milliseconds);
68 callback_->OnRenderError();
/external/chromium_org/android_webview/native/permission/
H A Dsimple_permission_request.cc18 callback_(callback) {
25 callback_.Run(allowed);
/external/chromium_org/chrome/browser/resources/local_ntp/
H A Dlocal_ntp_util.js19 this.callback_ = callback;
45 this.callback_();
/external/chromium_org/media/audio/
H A Dvirtual_audio_output_stream.cc16 after_close_cb_(after_close_cb), callback_(NULL), volume_(1.0f) {
26 DCHECK(!callback_);
36 DCHECK(!callback_);
37 callback_ = callback;
43 if (callback_) {
45 callback_ = NULL;
78 DCHECK(callback_);
80 const int frames = callback_->OnMoreData(audio_bus, AudioBuffersState());
/external/chromium_org/chrome/browser/local_discovery/
H A Dprivet_confirm_api_flow.cc30 : callback_(callback), token_(token) {
37 callback_.Run(status);
45 callback_.Run(GCDApiFlow::ERROR_MALFORMED_RESPONSE);
50 callback_.Run(GCDApiFlow::SUCCESS);
52 callback_.Run(GCDApiFlow::ERROR_FROM_SERVER);
H A Dprivet_device_resolver.cc15 service_name_(service_name), callback_(callback) {
34 callback_.Run(false, device_description);
39 callback_.Run(true, device_description);
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Dwindow_capturer_null.cc36 Callback* callback_; member in class:webrtc::__anon15945::WindowCapturerNull
42 : callback_(NULL) {
64 assert(!callback_);
67 callback_ = callback;
72 callback_->OnCaptureCompleted(NULL);
/external/chromium_org/base/
H A Dcancelable_callback.h66 callback_(callback) {
77 callback_.Reset();
82 return callback_.is_null();
96 callback_ = callback;
106 callback_.Run();
123 base::Callback<void(void)> callback_; member in class:base::CancelableCallback
136 callback_(callback) {
147 callback_.Reset();
152 return callback_.is_null();
166 callback_
193 base::Callback<void(A1)> callback_; member in class:base::CancelableCallback
260 base::Callback<void(A1, A2)> callback_; member in class:base::CancelableCallback
[all...]
/external/chromium_org/chrome/browser/feedback/system_logs/log_sources/
H A Dmemory_details_log_source.cc16 : callback_(callback) {}
25 callback_.Run(response.get());
30 SysLogsSourceCallback callback_; member in class:system_logs::SystemLogsMemoryHandler

Completed in 847 milliseconds

1234567891011>>