/external/chromium_org/chrome/browser/download/ |
download_completion_blocker.cc | 17 // 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_|!
|
download_completion_blocker.h | 25 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/remoting/host/ |
ipc_audio_capturer.cc | 22 DCHECK(callback_.is_null()); 25 callback_ = callback; 31 callback_.Reset(); 36 return !callback_.is_null(); 40 callback_.Run(packet.Pass());
|
/external/chromium_org/ppapi/thunk/ |
enter.cc | 54 callback_ = new TrackedCallback(resource_, callback); 64 callback_ = new TrackedCallback(resource_, callback); 69 // callback_ is cleared any time it is run, scheduled to be run, or once we 72 DCHECK(!callback_.get()) 73 << "|callback_| is not NULL. Did you forget to call " 78 if (!callback_.get()) { 86 if (callback_->is_blocking()) { 88 retval_ = callback_->BlockUntilComplete(); 96 if (callback_->is_required()) { 98 callback_->PostRun(result) [all...] |
/external/chromium_org/chrome/browser/supervised_user/ |
supervised_user_registration_utility_stub.cc | 27 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/media/base/ |
fake_audio_renderer_sink.cc | 13 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/content/browser/geolocation/ |
location_provider_base.cc | 16 if (!callback_.is_null()) 17 callback_.Run(this, position); 22 callback_ = callback;
|
/external/chromium_org/base/synchronization/ |
waitable_event_watcher_win.cc | 23 callback_ = callback; 29 callback_.Reset(); 40 EventCallback callback = callback_; 42 callback_.Reset();
|
/external/chromium_org/cc/resources/ |
single_release_callback.cc | 13 : 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);
|
/external/chromium_org/chrome/browser/browsing_data/ |
mock_browsing_data_quota_helper.cc | 19 callback_ = callback; 43 CHECK_EQ(false, callback_.is_null()); 44 callback_.Run(response_); 45 callback_.Reset();
|
mock_browsing_data_flash_lso_helper.cc | 16 callback_ = callback; 33 callback_.Run(domains_); 34 callback_ = GetSitesWithFlashDataCallback();
|
/external/chromium_org/media/audio/ |
virtual_audio_output_stream.cc | 16 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());
|
fake_audio_output_stream.cc | 24 callback_(NULL), 29 DCHECK(!callback_); 39 callback_ = callback; 47 callback_ = NULL; 51 DCHECK(!callback_); 64 callback_->OnMoreData(audio_bus, AudioBuffersState());
|
/external/chromium_org/content/browser/ |
pepper_flash_settings_helper_impl.cc | 32 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/media/audio/android/ |
audio_record_input.cc | 18 callback_(NULL), 61 callback_->OnData(this, audio_bus_.get(), hardware_delay_bytes, 0.0); 76 if (callback_) { 78 DCHECK_EQ(callback_, callback); 81 // The Java thread has not yet started, so we are free to set |callback_|. 82 callback_ = callback; 91 if (!callback_) { 100 // clear |callback_|. 101 callback_ = NULL; 108 DCHECK(!callback_); [all...] |
/external/chromium_org/chrome/browser/local_discovery/ |
privet_confirm_api_flow.cc | 30 : 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);
|
privet_device_resolver.cc | 15 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/ |
window_capturer_null.cc | 36 Callback* callback_; member in class:webrtc::__anon19852::WindowCapturerNull 42 : callback_(NULL) { 64 assert(!callback_); 67 callback_ = callback; 72 callback_->OnCaptureCompleted(NULL);
|
/external/chromium_org/chrome/installer/util/ |
callback_work_item.cc | 13 : callback_(callback), 24 bool result = callback_.Run(*this); 34 ignore_result(callback_.Run(*this));
|
/external/chromium_org/ui/gl/android/ |
surface_texture_listener.cc | 14 : callback_(callback), 27 browser_loop_->PostTask(FROM_HERE, callback_); 29 callback_.Run();
|
/external/chromium_org/v8/src/ |
vm-state.h | 30 Address callback() { return callback_; } 31 Address* callback_address() { return &callback_; } 37 Address callback_; member in class:v8::internal::BASE_EMBEDDED
|
/external/chromium_org/android_webview/native/permission/ |
simple_permission_request.cc | 18 callback_(callback) { 25 callback_.Run(allowed);
|
/external/chromium_org/chrome/browser/safe_browsing/ |
incident_report_uploader.cc | 13 : callback_(callback) {
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
authenticated_user_email_retriever.cc | 20 : callback_(callback), 35 callback_.Run(std::string()); 37 callback_.Run(accounts.front().first); 42 callback_.Run(std::string());
|
/external/chromium_org/net/dns/ |
notify_watcher_mac.cc | 38 callback_ = callback; 46 callback_.Reset(); 56 callback_.Run(false); 61 callback_.Run(true);
|