/external/chromium_org/content/shell/renderer/test_runner/ |
D | test_runner.cc | 298 base::WeakPtr<TestRunner> runner_; member in content::TestRunnerBindings 328 : runner_(runner) {} in TestRunnerBindings() 591 if (runner_) in NotifyDone() 592 runner_->NotifyDone(); in NotifyDone() 596 if (runner_) in WaitUntilDone() 597 runner_->WaitUntilDone(); in WaitUntilDone() 601 if (runner_) in QueueBackNavigation() 602 runner_->QueueBackNavigation(how_far_back); in QueueBackNavigation() 606 if (runner_) in QueueForwardNavigation() 607 runner_->QueueForwardNavigation(how_far_forward); in QueueForwardNavigation() [all …]
|
/external/chromium_org/ash/system/chromeos/session/ |
D | logout_confirmation_controller_unittest.cc | 160 scoped_refptr<MockTimeSingleThreadTaskRunner> runner_; member in ash::LogoutConfirmationControllerTest 171 runner_(new MockTimeSingleThreadTaskRunner), in LogoutConfirmationControllerTest() 172 runner_handle_(runner_), in LogoutConfirmationControllerTest() 176 scoped_ptr<base::TickClock>(new MockClock(runner_))); in LogoutConfirmationControllerTest() 189 controller_.ConfirmLogout(runner_->GetCurrentTime()); in TEST_F() 191 runner_->FastForwardBy(base::TimeDelta()); in TEST_F() 198 runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); in TEST_F() 200 runner_->FastForwardBy(base::TimeDelta::FromSeconds(9)); in TEST_F() 202 runner_->FastForwardBy(base::TimeDelta::FromSeconds(2)); in TEST_F() 211 runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(30)); in TEST_F() [all …]
|
/external/chromium_org/net/quic/ |
D | quic_connection_helper_test.cc | 35 : runner_(new TestTaskRunner(&clock_)), in QuicConnectionHelperTest() 36 helper_(runner_.get(), &clock_, &random_generator_) { in QuicConnectionHelperTest() 39 scoped_refptr<TestTaskRunner> runner_; member in net::test::__anon878e51b90111::QuicConnectionHelperTest 61 ASSERT_EQ(1u, runner_->GetPostedTasks().size()); in TEST_F() 63 runner_->GetPostedTasks()[0].delay); in TEST_F() 65 runner_->RunNextTask(); in TEST_F() 79 ASSERT_EQ(1u, runner_->GetPostedTasks().size()); in TEST_F() 81 runner_->GetPostedTasks()[0].delay); in TEST_F() 83 runner_->RunNextTask(); in TEST_F() 99 ASSERT_EQ(1u, runner_->GetPostedTasks().size()); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/chromeos/ |
D | session_length_limiter_unittest.cc | 117 scoped_refptr<MockTimeSingleThreadTaskRunner> runner_; member in chromeos::SessionLengthLimiterTest 196 runner_ = new MockTimeSingleThreadTaskRunner; in SetUp() 277 session_start_time_ = runner_->GetCurrentTime(); in UpdateSessionStartTimeIfWaitingForUserActivity() 289 session_stop_time_ = runner_->GetCurrentTime(); in SaveSessionStopTime() 295 session_start_time_ = runner_->GetCurrentTime(); in CreateSessionLengthLimiter() 300 .WillByDefault(Invoke(runner_.get(), in CreateSessionLengthLimiter() 390 runner_->GetCurrentTime() + base::TimeDelta::FromHours(2)); in TEST_F() 399 runner_->GetCurrentTime() + base::TimeDelta::FromHours(2)); in TEST_F() 408 runner_->GetCurrentTime() - base::TimeDelta::FromHours(2)); in TEST_F() 417 runner_->GetCurrentTime() - base::TimeDelta::FromHours(2)); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/net/ |
D | dns_probe_runner_unittest.cc | 52 DnsProbeRunner runner_; member in chrome_browser_net::__anone453182d0111::DnsProbeRunnerTest 60 runner_.SetClient(CreateMockDnsClientForProbes(query_result)); in RunTest() 61 runner_.RunProbe(callback.callback()); in RunTest() 62 EXPECT_TRUE(runner_.IsRunning()); in RunTest() 65 EXPECT_FALSE(runner_.IsRunning()); in RunTest() 67 EXPECT_EQ(expected_probe_result, runner_.result()); in RunTest() 96 runner_.SetClient(dns_client.Pass()); in TEST_F() 100 runner_.RunProbe(callback.callback()); in TEST_F() 101 EXPECT_TRUE(runner_.IsRunning()); in TEST_F() 104 EXPECT_FALSE(runner_.IsRunning()); in TEST_F() [all …]
|
/external/chromium_org/content/renderer/ |
D | web_ui_mojo_context_state.cc | 59 runner_.reset(new WebUIRunner(frame_, context_holder)); in WebUIMojoContextState() 60 gin::Runner::Scope scoper(runner_.get()); in WebUIMojoContextState() 62 runner_->RegisterBuiltinModules(); in WebUIMojoContextState() 69 gin::Runner::Scope scoper(runner_.get()); in ~WebUIMojoContextState() 71 runner_->GetContextHolder()->context())->RemoveObserver(this); in ~WebUIMojoContextState() 75 gin::ContextHolder* context_holder = runner_->GetContextHolder(); in SetHandle() 81 base::Bind(RunMain, runner_->GetWeakPtr(), base::Owned(passed_handle))); in SetHandle() 85 gin::Runner::Scope scoper(runner_.get()); in FetchModules() 86 gin::ContextHolder* context_holder = runner_->GetContextHolder(); in FetchModules() 128 runner_->Run(data, module); in OnFetchModuleComplete() [all …]
|
/external/chromium_org/chrome/browser/chromeos/login/saml/ |
D | saml_offline_signin_limiter_unittest.cc | 45 scoped_refptr<base::TestSimpleTaskRunner> runner_; member in chromeos::SAMLOfflineSigninLimiterTest 60 : runner_(new base::TestSimpleTaskRunner), in SAMLOfflineSigninLimiterTest() 61 runner_handle_(runner_), in SAMLOfflineSigninLimiterTest() 119 EXPECT_FALSE(runner_->HasPendingTask()); in TEST_F() 137 EXPECT_FALSE(runner_->HasPendingTask()); in TEST_F() 163 EXPECT_FALSE(runner_->HasPendingTask()); in TEST_F() 181 EXPECT_FALSE(runner_->HasPendingTask()); in TEST_F() 207 EXPECT_FALSE(runner_->HasPendingTask()); in TEST_F() 225 EXPECT_FALSE(runner_->HasPendingTask()); in TEST_F() 251 EXPECT_FALSE(runner_->HasPendingTask()); in TEST_F() [all …]
|
/external/chromium_org/content/public/test/ |
D | content_browser_test_utils.cc | 83 runner_ = new MessageLoopRunner(); in GetShell() 84 runner_->Run(); in GetShell() 91 if (runner_.get()) in ShellCreated() 92 runner_->QuitClosure().Run(); in ShellCreated() 128 if (runner_.get()) in WebContentsCreated() 129 runner_->QuitClosure().Run(); in WebContentsCreated() 136 runner_ = new MessageLoopRunner(); in GetWebContents() 137 runner_->Run(); in GetWebContents()
|
/external/chromium_org/chrome/browser/profile_resetter/ |
D | profile_resetter_test_base.cc | 17 runner_ = new content::MessageLoopRunner; in RunLoop() 18 runner_->Run(); in RunLoop() 19 runner_ = NULL; in RunLoop() 23 DCHECK(runner_.get()); in StopLoop() 25 runner_->Quit(); in StopLoop()
|
D | profile_resetter_browsertest.cc | 49 scoped_refptr<content::MessageLoopRunner> runner_; member in __anonf190bef10111::RemoveCookieTester 140 DCHECK(!runner_.get()); in BlockUntilNotified() 142 runner_ = new content::MessageLoopRunner; in BlockUntilNotified() 143 runner_->Run(); in BlockUntilNotified() 144 runner_ = NULL; in BlockUntilNotified() 151 if (runner_.get()) in Notify() 152 runner_->Quit(); in Notify()
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
D | autofill_dialog_cocoa_browsertest.mm | 42 runner_(runner) {} 47 DCHECK(runner_.get()); 48 runner_->Quit(); 64 scoped_refptr<content::MessageLoopRunner> runner_; 87 runner_ = new content::MessageLoopRunner; 92 runner_); 98 DCHECK(runner_.get()); 99 runner_->Run(); 108 scoped_refptr<content::MessageLoopRunner> runner_;
|
/external/chromium_org/mojo/bindings/js/ |
D | waiting_callback.cc | 52 runner_ = gin::PerContextData::From(context)->runner()->GetWeakPtr(); in WaitingCallback() 68 if (!runner_) in OnHandleReady() 71 gin::Runner::Scope scope(runner_.get()); in OnHandleReady() 72 v8::Isolate* isolate = runner_->GetContextHolder()->isolate(); in OnHandleReady() 80 runner_->Call(callback, runner_->global(), 1, args); in OnHandleReady()
|
/external/chromium_org/gin/modules/ |
D | timer.cc | 46 runner_(PerContextData::From( in Timer() 48 GetWrapper(runner_->GetContextHolder()->isolate())->SetHiddenValue( in Timer() 61 if (!runner_.get()) { in OnTimerFired() 65 Runner::Scope scope(runner_.get()); in OnTimerFired() 66 v8::Isolate* isolate = runner_->GetContextHolder()->isolate(); in OnTimerFired() 69 runner_->Call(function, v8::Undefined(isolate), 0, NULL); in OnTimerFired()
|
/external/chromium_org/chrome/browser/chromeos/login/signin/ |
D | oauth2_browsertest.cc | 94 runner_ = new content::MessageLoopRunner; in WaitForStates() 95 runner_->Run(); in WaitForStates() 114 runner_->Quit(); in OnSessionRestoreStateChanged() 121 scoped_refptr<content::MessageLoopRunner> runner_; member in chromeos::__anon22bdc9c70111::OAuth2LoginManagerStateWaiter 351 runner_ = new content::MessageLoopRunner; in ReadCookies() 352 runner_->Run(); in ReadCookies() 389 runner_->Quit(); in OnCookiesReadyOnUIThread() 394 scoped_refptr<content::MessageLoopRunner> runner_; member in chromeos::CookieReader 531 runner_ = new content::MessageLoopRunner; in WaitForPageRequest() 532 runner_->Run(); in WaitForPageRequest() [all …]
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | recommendation_restorer_unittest.cc | 73 scoped_refptr<base::TestSimpleTaskRunner> runner_; member in policy::RecommendationRestorerTest 93 runner_(new base::TestSimpleTaskRunner), in RecommendationRestorerTest() 94 runner_handler_(runner_), in RecommendationRestorerTest() 295 runner_->RunUntilIdle(); in TEST_F() 305 runner_->RunUntilIdle(); in TEST_F() 315 runner_->RunUntilIdle(); in TEST_F() 328 runner_->RunUntilIdle(); in TEST_F() 339 runner_->RunUntilIdle(); in TEST_F() 456 runner_->RunUntilIdle(); in TEST_F() 465 runner_->RunUntilIdle(); in TEST_F() [all …]
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/test/ |
D | fake_storage_test.cc | 31 FakeStorageTest() : storage_(), runner_(&storage_) {} in FakeStorageTest() 35 StorageTestRunner runner_; member in i18n::addressinput::__anon868fa5d60111::FakeStorageTest 39 EXPECT_NO_FATAL_FAILURE(runner_.RunAllTests()); in TEST_F()
|
/external/chromium_org/base/ |
D | deferred_sequenced_task_runner_unittest.cc | 47 runner_->PostTask(FROM_HERE, in PostExecuteTask() 54 runner_->Start(); in StartRunner() 63 runner_( in DeferredSequencedTaskRunnerTest() 68 scoped_refptr<base::DeferredSequencedTaskRunner> runner_; member in __anoneeada0340111::DeferredSequencedTaskRunnerTest 157 runner_ = in TEST_F() 165 runner_->PostTask( in TEST_F()
|
/external/chromium_org/third_party/libaddressinput/chromium/ |
D | chrome_storage_impl_unittest.cc | 22 runner_(&storage_) {} in ChromeStorageImplTest() 28 i18n::addressinput::StorageTestRunner runner_; member in autofill::ChromeStorageImplTest 32 EXPECT_NO_FATAL_FAILURE(runner_.RunAllTests()); in TEST_F()
|
/external/chromium_org/content/browser/renderer_host/input/ |
D | touch_action_browsertest.cc | 83 runner_->Quit(); in OnSyntheticGestureCompleted() 136 runner_ = new MessageLoopRunner(); in DoTouchScroll() 146 runner_->Run(); in DoTouchScroll() 147 runner_ = NULL; in DoTouchScroll() 159 scoped_refptr<MessageLoopRunner> runner_; member in content::TouchActionBrowserTest
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | taskparent.cc | 41 runner_ = parent->GetRunner(); in TaskParent() 48 runner_(derived_instance) { in TaskParent() 87 runner_->IncrementAbortCount(); in AbortAllChildren() 96 runner_->DecrementAbortCount(); in AbortAllChildren()
|
/external/chromium_org/third_party/webrtc/base/ |
D | taskparent.cc | 24 runner_ = parent->GetRunner(); in TaskParent() 31 runner_(derived_instance) { in TaskParent() 70 runner_->IncrementAbortCount(); in AbortAllChildren() 79 runner_->DecrementAbortCount(); in AbortAllChildren()
|
/external/chromium_org/chrome/browser/apps/drive/ |
D | drive_app_provider_browsertest.cc | 107 DCHECK(!runner_); in WaitForPendingDriveAppConverters() 112 runner_ = new content::MessageLoopRunner; in WaitForPendingDriveAppConverters() 120 runner_->Run(); in WaitForPendingDriveAppConverters() 123 runner_ = NULL; in WaitForPendingDriveAppConverters() 127 DCHECK(!runner_); in InstallUserUrlApp() 128 runner_ = new content::MessageLoopRunner; in InstallUserUrlApp() 141 runner_->Run(); in InstallUserUrlApp() 142 runner_ = NULL; in InstallUserUrlApp() 161 runner_->Quit(); in OnPendingDriveAppConverterCheckTimer() 167 runner_->Quit(); in OnFinishCrxInstall() [all …]
|
/external/chromium_org/gin/ |
D | per_context_data.h | 34 Runner* runner() const { return runner_; } in runner() 35 void set_runner(Runner* runner) { runner_ = runner; } in set_runner() 41 Runner* runner_; variable
|
/external/chromium_org/chrome/browser/chromeos/login/test/ |
D | oobe_screen_waiter.cc | 37 runner_ = new content::MessageLoopRunner; in WaitNoAssertCurrentScreen() 38 runner_->Run(); in WaitNoAssertCurrentScreen() 46 runner_->Quit(); in OnCurrentScreenChanged()
|
/external/chromium_org/content/child/ |
D | worker_task_runner_unittest.cc | 32 runner_->RemoveStopObserver(this); in RemoveSelf() 34 WorkerTaskRunner* runner_; member in content::MockObserver 50 o.runner_ = &task_runner_; in TEST_F()
|