Home
last modified time | relevance | path

Searched refs:main_loop_ (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium_org/content/browser/
Dbrowser_main_runner.cc85 main_loop_.reset(new BrowserMainLoop(parameters)); in Initialize()
87 main_loop_->Init(); in Initialize()
89 main_loop_->EarlyInitialization(); in Initialize()
92 main_loop_->InitializeToolkit(); in Initialize()
94 main_loop_->MainMessageLoopStart(); in Initialize()
110 main_loop_->CreateStartupTasks(); in Initialize()
111 int result_code = main_loop_->GetResultCode(); in Initialize()
122 main_loop_->RunMainMessageLoopParts(); in Run()
123 return main_loop_->GetResultCode(); in Run()
150 main_loop_->ShutdownThreadsAndCleanUp(); in Shutdown()
[all …]
/external/chromium/webkit/glue/
Dwebmediaplayer_impl.cc278 main_loop_(NULL), in WebMediaPlayerImpl()
288 DCHECK(!main_loop_); in WebMediaPlayerImpl()
289 main_loop_ = MessageLoop::current(); in WebMediaPlayerImpl()
306 main_loop_->AddDestructionObserver(this); in Initialize()
309 proxy_ = new Proxy(main_loop_, this); in Initialize()
367 if (main_loop_) { in ~WebMediaPlayerImpl()
368 main_loop_->RemoveDestructionObserver(this); in ~WebMediaPlayerImpl()
373 DCHECK(MessageLoop::current() == main_loop_); in load()
403 DCHECK(MessageLoop::current() == main_loop_); in cancelLoad()
407 DCHECK(MessageLoop::current() == main_loop_); in play()
[all …]
/external/chromium_org/content/renderer/media/
Dwebmediaplayer_impl.cc119 media::BindToLoop(main_loop_, base::Bind(function, AsWeakPtr()))
122 media::BindToLoop(main_loop_, base::Bind(function, AsWeakPtr(), arg1))
125 media::BindToLoop(main_loop_, base::Bind(function, AsWeakPtr(), arg1, arg2))
142 main_loop_(base::MessageLoopProxy::current()), in WebMediaPlayerImpl()
182 main_loop_->PostTask( in WebMediaPlayerImpl()
209 DCHECK(main_loop_->BelongsToCurrentThread()); in ~WebMediaPlayerImpl()
266 DCHECK(main_loop_->BelongsToCurrentThread()); in DoLoad()
293 main_loop_, in DoLoad()
307 DCHECK(main_loop_->BelongsToCurrentThread()); in play()
321 DCHECK(main_loop_->BelongsToCurrentThread()); in pause()
[all …]
Dmedia_stream_dispatcher.cc66 main_loop_(base::MessageLoopProxy::current()), in MediaStreamDispatcher()
77 DCHECK(main_loop_->BelongsToCurrentThread()); in GenerateStream()
90 DCHECK(main_loop_->BelongsToCurrentThread()); in CancelGenerateStream()
138 DCHECK(main_loop_->BelongsToCurrentThread()); in EnumerateDevices()
159 DCHECK(main_loop_->BelongsToCurrentThread()); in StopEnumerateDevices()
179 DCHECK(main_loop_->BelongsToCurrentThread()); in OpenDevice()
197 DCHECK(main_loop_->BelongsToCurrentThread()); in CloseDevice()
244 DCHECK(main_loop_->BelongsToCurrentThread()); in OnStreamGenerated()
268 DCHECK(main_loop_->BelongsToCurrentThread()); in OnStreamGenerationFailed()
287 DCHECK(main_loop_->BelongsToCurrentThread()); in OnDeviceStopped()
[all …]
/external/chromium_org/tools/gn/
Dscheduler.cc59 if (base::MessageLoop::current() == &main_loop_) { in Log()
64 main_loop_.PostTask(FROM_HERE, in Log()
80 if (base::MessageLoop::current() == &main_loop_) { in FailWithError()
85 main_loop_.PostTask(FROM_HERE, in FailWithError()
115 if (base::MessageLoop::current() == &main_loop_) { in DecrementWorkCount()
118 main_loop_.PostTask(FROM_HERE, in DecrementWorkCount()
Dscheduler.h27 base::MessageLoop* main_loop() { return &main_loop_; } in main_loop()
68 base::MessageLoop main_loop_; variable
Dloader.cc102 : main_loop_(base::MessageLoop::current()), in LoaderImpl()
236 main_loop_->PostTask(FROM_HERE, in BackgroundLoadFile()
260 main_loop_->PostTask(FROM_HERE, base::Bind(&LoaderImpl::DidLoadFile, this)); in BackgroundLoadFile()
268 main_loop_->PostTask(FROM_HERE, in BackgroundLoadBuildConfig()
314 main_loop_->PostTask(FROM_HERE, in BackgroundLoadBuildConfig()
Dloader.h92 void set_main_loop(base::MessageLoop* loop) { main_loop_ = loop; } in set_main_loop()
156 base::MessageLoop* main_loop_; variable
/external/chromium_org/content/renderer/media/android/
Dmedia_source_delegate.cc53 : main_loop_(base::MessageLoopProxy::current()), in MediaSourceDelegate()
73 DCHECK(main_loop_->BelongsToCurrentThread()); in MediaSourceDelegate()
77 DCHECK(main_loop_->BelongsToCurrentThread()); in ~MediaSourceDelegate()
89 DCHECK(main_loop_->BelongsToCurrentThread()); in Destroy()
135 demuxer_->Stop(media::BindToLoop(main_loop_, in StopDemuxer()
146 DCHECK(main_loop_->BelongsToCurrentThread()); in InitializeMediaSource()
182 DCHECK(main_loop_->BelongsToCurrentThread()); in InitializeMediaStream()
221 DCHECK(main_loop_->BelongsToCurrentThread()); in CancelPendingSeek()
245 DCHECK(main_loop_->BelongsToCurrentThread()); in StartWaitingForSeek()
336 DCHECK(main_loop_->BelongsToCurrentThread()); in SetDuration()
[all …]
Dwebmediaplayer_android.cc89 main_loop_(base::MessageLoopProxy::current()), in WebMediaPlayerAndroid()
365 DCHECK(main_loop_->BelongsToCurrentThread()); in seek()
687 DCHECK(main_loop_->BelongsToCurrentThread()); in OnSeekRequest()
693 DCHECK(main_loop_->BelongsToCurrentThread()); in OnSeekComplete()
772 DCHECK(main_loop_->BelongsToCurrentThread()); in OnTimeUpdate()
837 DCHECK(main_loop_->BelongsToCurrentThread()); in OnDurationChanged()
856 DCHECK(main_loop_->BelongsToCurrentThread()); in UpdateNetworkState()
1015 main_loop_, in DrawRemotePlaybackIcon()
1410 DCHECK(main_loop_->BelongsToCurrentThread()); in OnNeedKey()
/external/chromium_org/content/child/
Dthread_safe_sender.cc15 : main_loop_(main_loop), sync_filter_(sync_filter) { in ThreadSafeSender()
22 if (main_loop_->BelongsToCurrentThread()) in Send()
Dthread_safe_sender.h41 scoped_refptr<base::MessageLoopProxy> main_loop_; variable
/external/chromium_org/content/renderer/input/
Dinput_event_filter.cc26 : main_loop_(base::MessageLoopProxy::current()), in InputEventFilter()
38 DCHECK(main_loop_->BelongsToCurrentThread()); in SetBoundHandler()
120 main_loop_->PostTask( in ForwardToHandler()
142 main_loop_->PostTask( in ForwardToHandler()
Dinput_handler_wrapper.cc23 main_loop_(main_loop), in InputHandlerWrapper()
35 main_loop_->PostTask( in TransferActiveWheelFlingAnimation()
Dinput_handler_wrapper.h42 scoped_refptr<base::MessageLoopProxy> main_loop_; variable
Dinput_event_filter.h71 scoped_refptr<base::MessageLoopProxy> main_loop_; variable
/external/chromium/chrome/browser/search_engines/
Dsearch_provider_install_data_unittest.cc41 main_loop_(NULL), in TestGetInstallState()
74 MessageLoop* main_loop_; member in TestGetInstallState
91 main_loop_ = MessageLoop::current(); in RunTests()
99 main_loop_ = NULL; in RunTests()
140 main_loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask()); in DoInstallStateTests()
Dtemplate_url_model_test_util.cc26 QuitTask2() : main_loop_(MessageLoop::current()) {} in QuitTask2()
29 main_loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask()); in Run()
33 MessageLoop* main_loop_; member in __anonbf0308090111::QuitTask2
/external/chromium_org/components/nacl/loader/
Dnacl_listener.cc184 main_loop_(NULL) { in NaClListener()
202 DCHECK(main_loop_ != NULL); in Send()
203 if (base::MessageLoop::current() == main_loop_) { in Send()
221 main_loop_ = base::MessageLoop::current(); in Listen()
222 main_loop_->Run(); in Listen()
Dnacl_listener.h69 base::MessageLoop* main_loop_; variable
/external/chromium_org/content/browser/gpu/
Dbrowser_gpu_channel_host_factory.cc44 main_loop_(base::MessageLoopProxy::current()) { in EstablishRequest()
103 main_loop_->PostTask( in FinishOnIO()
119 DCHECK(main_loop_->BelongsToCurrentThread()); in Wait()
134 DCHECK(main_loop_->BelongsToCurrentThread()); in Cancel()
/external/chromium_org/tools/ipc_fuzzer/replay/
Dreplay_process.h47 base::MessageLoop main_loop_; variable
/external/chromium_org/components/dom_distiller/core/
Ddom_distiller_database_unittest.cc90 main_loop_.reset(new MessageLoop()); in SetUp()
91 db_.reset(new DomDistillerDatabase(main_loop_->message_loop_proxy())); in SetUp()
97 main_loop_.reset(); in TearDown()
101 scoped_ptr<MessageLoop> main_loop_; member in dom_distiller::DomDistillerDatabaseTest
Ddom_distiller_service_unittest.cc47 main_loop_.reset(new base::MessageLoop()); in SetUp()
71 scoped_ptr<base::MessageLoop> main_loop_; member in dom_distiller::test::DomDistillerServiceTest
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/
Dps_instance.cc63 si->inst_->main_loop_ = new pp::MessageLoop(si->inst_); in MainThreadThunk()
64 si->inst_->main_loop_->AttachToCurrentThread(); in MainThreadThunk()
114 main_loop_(NULL), in PSInstance()

12