Searched refs:loop_ (Results 1 - 25 of 132) sorted by relevance

123456

/external/chromium_org/media/audio/sounds/
H A Dtest_data.cc13 : loop_(base::MessageLoop::current()),
18 DCHECK(loop_);
31 loop_->PostTask(FROM_HERE, quit_);
H A Dtest_data.h39 base::MessageLoop* loop_; member in class:media::TestObserver
/external/chromium_org/base/
H A Drun_loop.cc16 : loop_(MessageLoop::current()),
31 : loop_(MessageLoop::current()),
49 loop_->RunHandler();
60 if (running_ && loop_->run_loop_ == this) {
62 loop_->QuitNow();
79 previous_run_loop_ = loop_->run_loop_;
81 loop_->run_loop_ = this;
91 loop_->run_loop_ = previous_run_loop_;
95 loop_->QuitNow();
H A Ddeferred_sequenced_task_runner_unittest.cc62 loop_(),
64 new base::DeferredSequencedTaskRunner(loop_.message_loop_proxy())) {
67 base::MessageLoop loop_; member in class:__anon2217::DeferredSequencedTaskRunnerTest
75 loop_.RunUntilIdle();
82 loop_.RunUntilIdle();
91 loop_.RunUntilIdle();
97 loop_.RunUntilIdle();
101 loop_.RunUntilIdle();
105 loop_.RunUntilIdle();
112 loop_
[all...]
H A Drun_loop.h91 MessageLoop* loop_; member in class:base::RunLoop
H A Dobserver_list_unittest.cc103 loop_(NULL),
116 loop_ = new MessageLoop(); // Fire up a message loop.
117 loop_->PostTask(
120 loop_->Run();
121 //LOG(ERROR) << "Loop 0x" << std::hex << loop_ << " done. " <<
123 delete loop_;
124 loop_ = reinterpret_cast<MessageLoop*>(0xdeadbeef);
147 loop_->PostTask(
153 loop_->PostTask(FROM_HERE, MessageLoop::QuitWhenIdleClosure());
164 EXPECT_EQ(loop_, MessageLoo
172 MessageLoop* loop_; member in class:base::__anon2369::AddRemoveThread
[all...]
/external/chromium_org/media/base/
H A Dbind_to_current_loop_unittest.cc44 base::MessageLoop loop_; member in class:media::BindToCurrentLoopTest
54 loop_.RunUntilIdle();
64 loop_.RunUntilIdle();
75 loop_.RunUntilIdle();
86 loop_.RunUntilIdle();
99 loop_.RunUntilIdle();
111 loop_.RunUntilIdle();
125 loop_.RunUntilIdle();
139 loop_.RunUntilIdle();
151 loop_
[all...]
/external/chromium_org/components/policy/core/common/cloud/
H A Duser_cloud_policy_manager_unittest.cc56 loop_.message_loop_proxy(),
57 loop_.message_loop_proxy(),
58 loop_.message_loop_proxy()));
65 base::MessageLoop loop_; member in class:policy::__anon6505::UserCloudPolicyManagerTest
/external/chromium_org/chrome/browser/net/
H A Dhttp_server_properties_manager_unittest.cc82 : ui_thread_(BrowserThread::UI, &loop_),
83 io_thread_(BrowserThread::IO, &loop_) {
92 loop_.RunUntilIdle();
98 loop_.RunUntilIdle();
100 // |loop_|.
128 base::MessageLoop loop_; member in class:chrome_browser_net::__anon4270::HttpServerPropertiesManagerTest
194 loop_.RunUntilIdle();
234 loop_.RunUntilIdle();
252 loop_.RunUntilIdle();
278 loop_
[all...]
H A Dpref_proxy_config_tracker_impl_unittest.cc80 : ui_thread_(BrowserThread::UI, &loop_),
81 io_thread_(BrowserThread::IO, &loop_) {}
97 loop_.RunUntilIdle();
102 loop_.RunUntilIdle();
107 base::MessageLoop loop_; member in class:__anon4278::PrefProxyConfigTrackerImplTestBase
140 loop_.RunUntilIdle();
154 loop_.RunUntilIdle();
180 loop_.RunUntilIdle();
192 loop_.RunUntilIdle();
201 loop_
[all...]
/external/chromium_org/chrome/browser/policy/
H A Dprofile_policy_connector_unittest.cc46 loop_.message_loop_proxy(),
47 loop_.message_loop_proxy(),
48 loop_.message_loop_proxy()));
56 base::MessageLoop loop_; member in class:policy::ProfilePolicyConnectorTest
/external/chromium_org/chrome/browser/spellchecker/
H A Dspellcheck_message_filter_mac_browsertest.cc23 loop_(loop) { }
27 loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
32 base::MessageLoopForUI* loop_; member in class:TestingSpellCheckMessageFilter
/external/chromium_org/content/renderer/media/android/
H A Dstream_texture_factory_impl.cc41 scoped_refptr<base::MessageLoopProxy> loop_; member in class:content::__anon7364::StreamTextureProxyImpl
58 if (!loop_.get() || loop_->BelongsToCurrentThread() ||
59 !loop_->DeleteSoon(FROM_HERE, this)) {
72 DCHECK(!loop_ || (loop == loop_));
73 loop_ = loop;
81 // Unretained is safe here only because the object is deleted on |loop_|
H A Dstream_texture_factory_synchronous_impl.cc48 scoped_refptr<base::MessageLoopProxy> loop_; member in class:content::__anon7365::StreamTextureProxyImpl
50 // Accessed on the |loop_| thread only.
76 if (!loop_.get() || loop_->BelongsToCurrentThread() ||
77 !loop_->DeleteSoon(FROM_HERE, this)) {
90 DCHECK(!loop_ || (loop == loop_));
91 loop_ = loop;
99 // Unretained is safe here only because the object is deleted on |loop_|
/external/chromium_org/components/policy/core/browser/
H A Dconfiguration_policy_pref_store_test.h41 base::MessageLoop loop_; member in class:policy::ConfigurationPolicyPrefStoreTest
/external/chromium_org/components/policy/core/common/
H A Dasync_policy_provider_unittest.cc86 base::MessageLoop loop_; member in class:policy::AsyncPolicyProviderTest
102 loader_ = new MockPolicyLoader(loop_.message_loop_proxy());
114 loop_.RunUntilIdle();
126 loop_.RunUntilIdle();
138 loop_.RunUntilIdle();
162 loop_.RunUntilIdle();
198 loop_.RunUntilIdle();
220 loop_.RunUntilIdle();
H A Dconfiguration_policy_provider_test.cc134 loop_.RunUntilIdle();
197 loop_.message_loop_proxy()));
201 loop_.RunUntilIdle();
222 loop_.RunUntilIdle();
237 loop_.RunUntilIdle();
328 loop_.RunUntilIdle();
337 loop_.RunUntilIdle();
390 loop_.RunUntilIdle();
/external/chromium_org/chrome/browser/extensions/api/storage/
H A Dpolicy_value_store_unittest.cc92 : file_thread_(content::BrowserThread::FILE, &loop_) {}
113 base::MessageLoop loop_; member in class:extensions::PolicyValueStoreTest
171 loop_.RunUntilIdle();
187 loop_.RunUntilIdle();
205 loop_.RunUntilIdle();
220 loop_.RunUntilIdle();
226 loop_.RunUntilIdle();
/external/chromium_org/chrome/test/chromedriver/net/
H A Dwebsocket_unittest.cc105 loop_.PostDelayedTask(
126 loop_.PostDelayedTask(
132 base::MessageLoopForIO loop_; member in class:__anon5898::WebSocketTest
146 RunPending(&loop_);
159 RunPending(&loop_);
176 loop_.PostDelayedTask(
190 loop_.PostDelayedTask(
/external/chromium_org/net/socket/
H A Dtcp_listen_socket_unittest.cc26 : loop_(NULL),
35 loop_ = reinterpret_cast<base::MessageLoopForIO*>(thread_->message_loop());
37 loop_->PostTask(FROM_HERE, base::Bind(
81 loop_->PostTask(FROM_HERE, base::Bind(
87 loop_ = NULL;
173 loop_->PostTask(FROM_HERE, base::Bind(
200 loop_->PostTask(FROM_HERE, base::Bind(
/external/chromium_org/content/browser/loader/
H A Dtemporary_file_stream_unittest.cc47 loop_.Quit();
51 loop_.Run();
59 base::RunLoop loop_; member in class:content::__anon6931::WaitForFileStream
/external/chromium_org/content/browser/download/
H A Ddownload_file_unittest.cc82 ui_thread_(BrowserThread::UI, &loop_),
83 file_thread_(BrowserThread::FILE, &loop_) {
153 loop_.RunUntilIdle();
234 loop_.RunUntilIdle();
256 loop_.RunUntilIdle();
275 loop_.RunUntilIdle();
300 base::MessageLoop loop_; member in class:content::DownloadFileTest
393 loop_.RunUntilIdle();
450 loop_.RunUntilIdle();
484 loop_
[all...]
/external/chromium_org/chrome/browser/chromeos/
H A Dproxy_config_service_impl_unittest.cc214 : ui_thread_(BrowserThread::UI, &loop_),
215 io_thread_(BrowserThread::IO, &loop_) {}
236 loop_.RunUntilIdle();
246 loop_.RunUntilIdle();
260 loop_.RunUntilIdle();
265 loop_.RunUntilIdle();
318 loop_.RunUntilIdle();
325 base::MessageLoop loop_; member in class:chromeos::ProxyConfigServiceImplTest
/external/chromium_org/chrome/browser/extensions/
H A Ddefault_apps_unittest.cc32 DefaultAppsTest() : ui_thread_(content::BrowserThread::UI, &loop_) {}
35 base::MessageLoopForIO loop_; member in class:extensions::DefaultAppsTest
/external/chromium_org/ppapi/proxy/
H A Dppb_message_loop_proxy.cc89 loop_.reset(new base::MessageLoop);
110 base::Bind(&base::MessageLoop::Run, base::Unretained(loop_.get())));
115 loop_.reset();
142 loop_->Quit();
161 loop_.reset();

Completed in 676 milliseconds

123456