Searched refs:close_callback (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/drive/
H A Dwrite_on_cache_file.cc20 // Runs |close_callback| and |reply|.
21 void RunCloseCallbackAndReplyTask(const base::Closure& close_callback, argument
24 if (!close_callback.is_null())
25 close_callback.Run();
30 // Runs |file_io_task_callback| in blocking pool and runs |close_callback|
38 const base::Closure& close_callback) {
44 base::Bind(&RunCloseCallbackAndReplyTask, close_callback, reply, error));
32 WriteOnCacheFileAfterOpenFile( const base::FilePath& drive_path, const WriteOnCacheFileCallback& file_io_task_callback, const FileOperationCallback& reply, FileError error, const base::FilePath& local_cache_path, const base::Closure& close_callback) argument
H A Dfileapi_worker_unittest.cc75 const base::Closure& close_callback) {
79 EXPECT_FALSE(close_callback.is_null());
95 close_callback.Run();
109 const base::Closure& close_callback) {
113 EXPECT_FALSE(close_callback.is_null());
128 close_callback.Run();
69 VerifyWrite( int64 expected_size, const base::FilePath& expected_written_path, const std::string& write_data, base::PlatformFileError result, base::PlatformFile platform_file, const base::Closure& close_callback) argument
106 VerifyRead(const std::string& expected_data, base::PlatformFileError result, base::PlatformFile platform_file, const base::Closure& close_callback) argument
H A Dfileapi_worker.h65 const base::Closure& close_callback)>
70 const base::Closure& close_callback)> OpenFileCallback;
155 // After writing operation is done, |close_callback| must be called.
H A Dfileapi_worker.cc141 const base::Closure& close_callback) {
143 callback.Run(FileErrorToPlatformError(error), local_path, close_callback); local
148 const base::Closure& close_callback,
151 callback.Run(*error, platform_file, close_callback);
159 const base::Closure& close_callback) {
192 callback, close_callback, base::Owned(result)));
137 RunCreateWritableSnapshotFileCallback( const CreateWritableSnapshotFileCallback& callback, FileError error, const base::FilePath& local_path, const base::Closure& close_callback) argument
147 RunOpenFileCallback(const OpenFileCallback& callback, const base::Closure& close_callback, base::PlatformFileError* error, base::PlatformFile platform_file) argument
155 OpenFileAfterFileSystemOpenFile(int file_flags, const OpenFileCallback& callback, FileError error, const base::FilePath& local_path, const base::Closure& close_callback) argument
H A Dfile_system_interface.h95 // If |close_callback| is not null, it must be called when the
98 // |close_callback| must not be called more than once.
101 const base::Closure& close_callback)>
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Dopen_file_operation_unittest.cc45 base::Closure close_callback; local
51 &error, &file_path, &close_callback));
60 ASSERT_FALSE(close_callback.is_null());
61 close_callback.Run();
73 base::Closure close_callback; local
79 &error, &file_path, &close_callback));
82 EXPECT_TRUE(close_callback.is_null());
93 base::Closure close_callback; local
99 &error, &file_path, &close_callback));
103 EXPECT_TRUE(close_callback
112 base::Closure close_callback; local
146 base::Closure close_callback; local
193 base::Closure close_callback; local
224 base::Closure close_callback; local
[all...]
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_dialogs.h82 // |close_callback| may be null.
86 const base::Closure& close_callback);
/external/chromium_org/chrome/browser/ui/gtk/
H A Dcreate_application_shortcuts_dialog_gtk.cc63 const base::Closure& close_callback) {
65 close_callback);
323 const base::Closure& close_callback)
327 close_callback_(close_callback) {
59 ShowCreateChromeAppShortcutsDialog( gfx::NativeWindow parent_window, Profile* profile, const extensions::Extension* app, const base::Closure& close_callback) argument
319 CreateChromeApplicationShortcutsDialogGtk( GtkWindow* parent, Profile* profile, const Extension* app, const base::Closure& close_callback) argument
H A Dcreate_application_shortcuts_dialog_gtk.h120 const base::Closure& close_callback);
/external/chromium_org/chrome/browser/ui/views/
H A Dcreate_application_shortcut_view.h129 const base::Closure& close_callback);
H A Dcreate_application_shortcut_view.cc242 const base::Closure& close_callback) {
244 new CreateChromeApplicationShortcutView(profile, app, close_callback),
519 const base::Closure& close_callback)
522 close_callback_(close_callback),
238 ShowCreateChromeAppShortcutsDialog( gfx::NativeWindow parent_window, Profile* profile, const extensions::Extension* app, const base::Closure& close_callback) argument
516 CreateChromeApplicationShortcutView( Profile* profile, const extensions::Extension* app, const base::Closure& close_callback) argument
/external/chromium_org/ppapi/tests/
H A Dtest_websocket.cc987 TestCompletionCallback close_callback(
991 close_callback.GetCallback().pp_completion_callback());
994 close_callback.WaitForResult(result);
995 ASSERT_EQ(PP_ERROR_ABORTED, close_callback.result());
1027 close_callback.GetCallback().pp_completion_callback());
1032 close_callback.WaitForResult(result);
1033 CHECK_CALLBACK_BEHAVIOR(close_callback);
1034 ASSERT_EQ(PP_ERROR_ABORTED, close_callback.result());
1068 TestCompletionCallback close_callback(
1072 close_callback
[all...]
/external/chromium_org/net/http/
H A Dhttp_pipelined_connection_impl_unittest.cc1120 scoped_ptr<TestCompletionCallback> close_callback(
1126 &response, close_callback->callback()));
1129 EXPECT_FALSE(close_callback->have_result());
1133 close_callback.reset();
1157 scoped_ptr<TestCompletionCallback> close_callback(
1160 close_stream->ReadResponseHeaders(close_callback->callback()));
1163 EXPECT_FALSE(close_callback->have_result());
1167 close_callback.reset();
1219 TestCompletionCallback close_callback; local
1221 close_stream->ReadResponseHeaders(close_callback
[all...]
/external/chromium_org/content/browser/renderer_host/media/
H A Dmedia_stream_dispatcher_host_unittest.cc759 base::Closure close_callback; local
762 .WillOnce(SaveArg<0>(&close_callback));
770 ASSERT_FALSE(close_callback.is_null());
772 close_callback.Run();
/external/chromium_org/chrome/browser/media/
H A Dmedia_stream_capture_indicator.cc182 virtual void OnStarted(const base::Closure& close_callback) OVERRIDE {

Completed in 554 milliseconds