Home
last modified time | relevance | path

Searched refs:init_callback (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/net/base/
Dupload_file_element_reader_unittest.cc126 TestCompletionCallback init_callback; in TEST_F() local
127 ASSERT_EQ(ERR_IO_PENDING, reader_->Init(init_callback.callback())); in TEST_F()
128 EXPECT_EQ(OK, init_callback.WaitForResult()); in TEST_F()
189 TestCompletionCallback init_callback; in TEST_F() local
190 ASSERT_EQ(ERR_IO_PENDING, reader_->Init(init_callback.callback())); in TEST_F()
191 EXPECT_EQ(OK, init_callback.WaitForResult()); in TEST_F()
219 TestCompletionCallback init_callback; in TEST_F() local
220 ASSERT_EQ(ERR_IO_PENDING, reader_->Init(init_callback.callback())); in TEST_F()
221 EXPECT_EQ(ERR_UPLOAD_FILE_CHANGED, init_callback.WaitForResult()); in TEST_F()
232 TestCompletionCallback init_callback; in TEST_F() local
[all …]
Dupload_data_stream_unittest.cc186 TestCompletionCallback init_callback; in TEST_F() local
188 ASSERT_EQ(ERR_IO_PENDING, stream.Init(init_callback.callback())); in TEST_F()
189 ASSERT_EQ(OK, init_callback.WaitForResult()); in TEST_F()
224 TestCompletionCallback init_callback; in TEST_F() local
226 ASSERT_EQ(ERR_IO_PENDING, stream.Init(init_callback.callback())); in TEST_F()
227 ASSERT_EQ(OK, init_callback.WaitForResult()); in TEST_F()
300 TestCompletionCallback init_callback; in TEST_F() local
301 ASSERT_EQ(ERR_IO_PENDING, stream.Init(init_callback.callback())); in TEST_F()
302 EXPECT_EQ(OK, init_callback.WaitForResult()); in TEST_F()
344 TestCompletionCallback init_callback; in TEST_F() local
[all …]
/external/chromium_org/content/browser/fileapi/
Dupload_file_system_file_element_reader_unittest.cc188 net::TestCompletionCallback init_callback; in TEST_F() local
189 ASSERT_EQ(net::ERR_IO_PENDING, reader_->Init(init_callback.callback())); in TEST_F()
190 EXPECT_EQ(net::OK, init_callback.WaitForResult()); in TEST_F()
244 net::TestCompletionCallback init_callback; in TEST_F() local
245 ASSERT_EQ(net::ERR_IO_PENDING, reader_->Init(init_callback.callback())); in TEST_F()
246 EXPECT_EQ(net::OK, init_callback.WaitForResult()); in TEST_F()
269 net::TestCompletionCallback init_callback; in TEST_F() local
270 ASSERT_EQ(net::ERR_IO_PENDING, reader_->Init(init_callback.callback())); in TEST_F()
271 EXPECT_EQ(net::ERR_UPLOAD_FILE_CHANGED, init_callback.WaitForResult()); in TEST_F()
278 net::TestCompletionCallback init_callback; in TEST_F() local
[all …]
/external/chromium_org/sync/internal_api/test/
Dsync_manager_factory_for_profile_sync_test.cc12 base::Closure init_callback) in SyncManagerFactoryForProfileSyncTest() argument
14 init_callback_(init_callback) { in SyncManagerFactoryForProfileSyncTest()
Dsync_manager_for_profile_sync_test.cc15 base::Closure init_callback) in SyncManagerForProfileSyncTest() argument
17 init_callback_(init_callback) {} in SyncManagerForProfileSyncTest()
Dsync_manager_for_profile_sync_test.h22 base::Closure init_callback);
/external/chromium_org/device/bluetooth/
Dbluetooth_adapter_win.cc26 const InitCallback& init_callback) { in CreateAdapter() argument
27 return BluetoothAdapterWin::CreateAdapter(init_callback); in CreateAdapter()
32 const InitCallback& init_callback) { in CreateAdapter() argument
33 BluetoothAdapterWin* adapter = new BluetoothAdapterWin(init_callback); in CreateAdapter()
38 BluetoothAdapterWin::BluetoothAdapterWin(const InitCallback& init_callback) in BluetoothAdapterWin() argument
40 init_callback_(init_callback), in BluetoothAdapterWin()
Dbluetooth_adapter_win.h35 const InitCallback& init_callback);
99 explicit BluetoothAdapterWin(const InitCallback& init_callback);
Dbluetooth_adapter.cc22 const InitCallback& init_callback) { in CreateAdapter() argument
Dbluetooth_adapter.h185 const InitCallback& init_callback);
Dbluetooth_adapter_mac.mm42 const InitCallback& init_callback) {
Dbluetooth_adapter_chromeos.cc60 const InitCallback& init_callback) { in CreateAdapter() argument
/external/chromium_org/net/proxy/
Dmulti_threaded_proxy_resolver_unittest.cc326 TestCompletionCallback init_callback; in TEST() local
328 init_callback.callback()); in TEST()
329 EXPECT_EQ(OK, init_callback.WaitForResult()); in TEST()
420 TestCompletionCallback init_callback; in TEST() local
422 init_callback.callback()); in TEST()
423 EXPECT_EQ(OK, init_callback.WaitForResult()); in TEST()
497 TestCompletionCallback init_callback; in TEST() local
499 init_callback.callback()); in TEST()
500 EXPECT_EQ(OK, init_callback.WaitForResult()); in TEST()
/external/chromium_org/sync/internal_api/public/test/
Dsync_manager_factory_for_profile_sync_test.h18 SyncManagerFactoryForProfileSyncTest(base::Closure init_callback);
/external/chromium_org/win8/test/
Dui_automation_client.cc45 UIAutomationClient::InitializedCallback init_callback,
185 UIAutomationClient::InitializedCallback init_callback, in Initialize() argument
206 client_runner_->PostTask(FROM_HERE, base::Bind(init_callback, result)); in Initialize()
607 const InitializedCallback& init_callback, in Begin() argument
623 init_callback, in Begin()
Dui_automation_client.h51 const InitializedCallback& init_callback,
/external/chromium_org/chrome/browser/copresence/
Dchrome_whispernet_client.cc31 void ChromeWhispernetClient::Initialize(const SuccessCallback& init_callback) { in Initialize() argument
33 init_callback_ = init_callback; in Initialize()
Dchrome_whispernet_client.h40 virtual void Initialize(const SuccessCallback& init_callback) OVERRIDE;
/external/chromium_org/components/copresence/public/
Dwhispernet_client.h46 virtual void Initialize(const SuccessCallback& init_callback) = 0;