/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/ |
SQLTransaction.idl | 35 optional SQLStatementCallback callback,
|
/external/chromium_org/ui/snapshot/ |
snapshot_aura.cc | 8 #include "base/callback.h" 36 const cc::CopyOutputRequest::CopyOutputRequestCallback& callback) { 38 cc::CopyOutputRequest::CreateBitmapRequest(callback); 48 const GrabWindowSnapshotAsyncCallback& callback) { 52 callback, 61 const GrabWindowSnapshotAsyncPNGCallback& callback) { 65 callback, 73 const GrabWindowSnapshotAsyncPNGCallback& callback) { 74 GrabWindowSnapshotAsync(view, source_rect, background_task_runner, callback);
|
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/ |
async_file_util.h | 9 #include "base/callback.h" 29 const CreateOrOpenCallback& callback) OVERRIDE; 33 const EnsureFileExistsCallback& callback) OVERRIDE; 39 const StatusCallback& callback) OVERRIDE; 43 const GetFileInfoCallback& callback) OVERRIDE; 47 const ReadDirectoryCallback& callback) OVERRIDE; 52 const StatusCallback& callback) OVERRIDE; 56 const StatusCallback& callback) OVERRIDE; 63 const StatusCallback& callback) OVERRIDE; 69 const StatusCallback& callback) OVERRIDE [all...] |
webkit_file_stream_reader_impl.cc | 9 #include "base/callback.h" 44 const net::CompletionCallback& callback) { 48 DCHECK(!callback.is_null()); 51 return stream_reader_->Read(buffer, buffer_length, callback); 64 buffer_length, callback))); 69 const net::Int64CompletionCallback& callback) { 72 DCHECK(!callback.is_null()); 89 callback))); 94 const net::CompletionCallback& callback, 99 DCHECK(!callback.is_null()) [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
local_file_reader_unittest.cc | 32 const net::CompletionCallback& callback) { 33 reader_->Read(buffer, buffer_length, callback); 65 net::TestCompletionCallback callback; local 66 file_reader_->Open(kTestFile, 0, callback.callback()); 67 EXPECT_EQ(net::ERR_FILE_NOT_FOUND, callback.WaitForResult()); 76 net::TestCompletionCallback callback; local 77 file_reader_->Open(test_file, 0, callback.callback()); 78 ASSERT_EQ(net::OK, callback.WaitForResult()) 95 net::TestCompletionCallback callback; local [all...] |
/external/chromium_org/chrome/browser/chromeos/file_system_provider/fileapi/ |
buffering_file_stream_reader.cc | 35 const net::CompletionCallback& callback) { 51 callback)); 63 callback))); 69 const net::Int64CompletionCallback& callback) { 70 const int64 result = file_stream_reader_->GetLength(callback); 91 const net::CompletionCallback& callback) { 97 preloading_buffer_.get(), preload_bytes, callback); 104 const net::CompletionCallback& callback, 107 callback.Run(result); 114 callback.Run(CopyFromPreloadingBuffer(buffer, buffer_length)) [all...] |
provider_async_file_util.h | 9 #include "base/callback.h" 39 const CreateOrOpenCallback& callback) OVERRIDE; 43 const EnsureFileExistsCallback& callback) OVERRIDE; 49 const StatusCallback& callback) OVERRIDE; 53 const GetFileInfoCallback& callback) OVERRIDE; 57 const ReadDirectoryCallback& callback) OVERRIDE; 62 const StatusCallback& callback) OVERRIDE; 66 const StatusCallback& callback) OVERRIDE; 73 const StatusCallback& callback) OVERRIDE; 79 const StatusCallback& callback) OVERRIDE [all...] |
buffering_file_stream_reader.h | 27 // synchronously. Instead, results must be returned by a callback, including 41 const net::CompletionCallback& callback) OVERRIDE; 43 const net::Int64CompletionCallback& callback) OVERRIDE; 51 // Preloads data from the internal stream reader and calls the |callback|. 52 void Preload(const net::CompletionCallback& callback); 54 void OnReadCompleted(const net::CompletionCallback& callback, int result); 60 const net::CompletionCallback& callback,
|
/external/chromium_org/chrome/browser/chromeos/file_system_provider/ |
provided_file_system.h | 43 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; 47 const GetMetadataCallback& callback) OVERRIDE; 50 const storage::AsyncFileUtil::ReadDirectoryCallback& callback) OVERRIDE; 53 const OpenFileCallback& callback) OVERRIDE; 56 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; 62 const ReadChunkReceivedCallback& callback) OVERRIDE; 66 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; 70 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; 73 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; 77 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE [all...] |
provided_file_system_interface.h | 10 #include "base/callback.h" 51 // and clients. All of the request methods return an abort callback in order to 53 // request methods. The cancellation callback may be null if the operation 66 typedef base::Callback<void(int file_handle, base::File::Error result)> 69 typedef base::Callback< 73 typedef base::Callback<void(scoped_ptr<EntryMetadata> entry_metadata, 76 typedef base::Callback<void( 77 const storage::AsyncFileUtil::StatusCallback& callback)> AbortCallback; 84 // Requests unmounting of the file system. The callback is called when the 87 const storage::AsyncFileUtil::StatusCallback& callback) = 0 [all...] |
/external/chromium_org/chromeos/dbus/ |
debug_daemon_client.h | 8 #include "base/callback.h" 30 typedef base::Callback<void(bool succeeded)> GetDebugLogsCallback; 32 // Requests to store debug logs into |file| and calls |callback| 38 const GetDebugLogsCallback& callback) = 0; 42 typedef base::Callback<void(bool succeeded)> SetDebugModeCallback; 45 // |callback| when completed. |subsystem| should be one of the 48 const SetDebugModeCallback& callback) = 0; 51 typedef base::Callback<void(bool succeeded, 55 const GetRoutesCallback& callback) = 0; 58 typedef base::Callback<void(bool succeeded, const std::string& status) [all...] |
fake_bluetooth_agent_service_provider.h | 9 #include "base/callback.h" 34 const Delegate::PinCodeCallback& callback); 38 const Delegate::PasskeyCallback& callback); 44 const Delegate::ConfirmationCallback& callback); 47 const Delegate::ConfirmationCallback& callback); 51 const Delegate::ConfirmationCallback& callback); 60 // All incoming method calls are passed on to the Delegate and a callback
|
fake_sms_client.cc | 9 #include "base/callback.h" 28 const GetAllCallback& callback) { 33 // Ownership passed to callback 39 // Run callback asynchronously. 40 if (callback.is_null()) 47 callback)); 51 const GetAllCallback& callback) { 52 callback.Run(*sms);
|
/external/chromium_org/net/disk_cache/ |
disk_cache.h | 48 // net error code. If this function returns ERR_IO_PENDING, the |callback| will 51 // completes (the callback is notified). 61 const net::CompletionCallback& callback); 75 // final result will be passed to the provided |callback|, otherwise 76 // |callback| will not be called. If any entry in the cache is modified 85 const CompletionCallback& callback) = 0; 89 // callback that has not been invoked yet), this method cancels said 93 // callback from within this method. 105 // a net error code. If this method returns ERR_IO_PENDING, the |callback| 109 const CompletionCallback& callback) = 0 [all...] |
/external/chromium_org/ppapi/proxy/ |
tcp_socket_resource.cc | 50 scoped_refptr<TrackedCallback> callback) { 55 return BindImpl(&enter.object()->GetNetAddressPrivate(), callback); 59 scoped_refptr<TrackedCallback> callback) { 65 callback); 94 scoped_refptr<TrackedCallback> callback) { 95 return ReadImpl(buffer, bytes_to_read, callback); 100 scoped_refptr<TrackedCallback> callback) { 101 return WriteImpl(buffer, bytes_to_write, callback); 105 scoped_refptr<TrackedCallback> callback) { 106 return ListenImpl(backlog, callback); [all...] |
/external/chromium_org/ppapi/tests/ |
test_udp_socket.cc | 90 TestCompletionCallback callback(instance_->pp_instance(), callback_type()); 91 callback.WaitForResult(socket.Connect(address_, callback.GetCallback())); 92 CHECK_CALLBACK_BEHAVIOR(callback); 93 ASSERT_EQ(PP_OK, callback.result()); 119 TestCompletionCallback callback(instance_->pp_instance(), callback_type()); 120 callback.WaitForResult(socket->Bind(address, callback.GetCallback())); 121 CHECK_CALLBACK_BEHAVIOR(callback); 122 ASSERT_EQ(PP_OK, callback.result()) [all...] |
/external/chromium_org/storage/browser/fileapi/ |
async_file_util_adapter.h | 45 const CreateOrOpenCallback& callback) OVERRIDE; 49 const EnsureFileExistsCallback& callback) OVERRIDE; 55 const StatusCallback& callback) OVERRIDE; 59 const GetFileInfoCallback& callback) OVERRIDE; 63 const ReadDirectoryCallback& callback) OVERRIDE; 69 const StatusCallback& callback) OVERRIDE; 74 const StatusCallback& callback) OVERRIDE; 81 const StatusCallback& callback) OVERRIDE; 87 const StatusCallback& callback) OVERRIDE; 92 const StatusCallback& callback) OVERRIDE [all...] |
/external/chromium_org/chrome/browser/devtools/device/usb/ |
usb_device_provider.h | 18 static void CountDevices(const base::Callback<void(int)>& callback); 22 virtual void QueryDevices(const SerialsCallback& callback) OVERRIDE; 25 const DeviceInfoCallback& callback) OVERRIDE; 29 const SocketCallback& callback) OVERRIDE; 37 const SerialsCallback& callback,
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
callback_tracker_unittest.cc | 27 base::Closure callback = tracker.Register(base::Bind(&Receiver, &aborted), local 33 callback.Run(); 43 base::Closure callback = tracker.Register(base::Bind(&Receiver, &aborted), local 45 callback.Run(); 51 callback.Run();
|
/external/chromium_org/chrome/browser/sync_file_system/local/ |
syncable_file_system_operation.h | 10 #include "base/callback.h" 37 const StatusCallback& callback) OVERRIDE; 41 const StatusCallback& callback) OVERRIDE; 46 const StatusCallback& callback) OVERRIDE; 50 const StatusCallback& callback) OVERRIDE; 52 const StatusCallback& callback) OVERRIDE; 54 const StatusCallback& callback) OVERRIDE; 56 const GetMetadataCallback& callback) OVERRIDE; 58 const ReadDirectoryCallback& callback) OVERRIDE; 61 const StatusCallback& callback) OVERRIDE [all...] |
/external/chromium_org/chrome/browser/ui/app_list/ |
profile_loader.cc | 32 base::Callback<void(Profile*)> callback) { 37 callback.Run(profile); 47 callback)); 51 base::Callback<void(Profile*)> callback, 55 callback.Run(profile);
|
/external/chromium_org/components/storage_monitor/ |
test_media_transfer_protocol_manager_linux.h | 28 const OpenStorageCallback& callback) OVERRIDE; 30 const CloseStorageCallback& callback) OVERRIDE; 33 const ReadDirectoryCallback& callback) OVERRIDE; 38 const ReadFileCallback& callback) OVERRIDE; 41 const GetFileInfoCallback& callback) OVERRIDE;
|
/external/chromium_org/content/renderer/ |
notification_permission_dispatcher.cc | 24 blink::WebNotificationPermissionCallback* callback) { 25 int request_id = pending_requests_.Add(callback); 44 blink::WebNotificationPermissionCallback* callback = local 46 DCHECK(callback); 48 callback->permissionRequestComplete(result);
|
/external/chromium_org/device/hid/ |
hid_connection.cc | 84 void HidConnection::Read(const ReadCallback& callback) { 88 callback.Run(false, NULL, 0); 92 PlatformRead(callback); 97 const WriteCallback& callback) { 101 callback.Run(false); 108 callback.Run(false); 113 callback.Run(false); 117 PlatformWrite(buffer, size, callback); 121 const ReadCallback& callback) { 125 callback.Run(false, NULL, 0) [all...] |
/external/chromium_org/media/base/android/ |
media_resource_getter.h | 10 #include "base/callback.h" 23 // Callback to get the cookies. Args: cookies string. 24 typedef base::Callback<void(const std::string&)> GetCookieCB; 26 // Callback to get the platform path. Args: platform path. 27 typedef base::Callback<void(const std::string&)> GetPlatformPathCB; 29 // Callback to get the auth credentials. Args: username and password. 30 typedef base::Callback<void(const base::string16&, const base::string16&)> 33 // Callback to get the media metadata. Args: duration, width, height, and 35 typedef base::Callback<void(base::TimeDelta, int, int, bool)> 41 const GetAuthCredentialsCB& callback) = 0 [all...] |