Home
last modified time | relevance | path

Searched refs:expected_state (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/browser/metrics/
Dthread_watcher_unittest.cc153 void WaitForWaitStateChange(TimeDelta wait_time, WaitState expected_state) { in WaitForWaitStateChange() argument
158 while (wait_state_ != expected_state && TimeTicks::Now() < end_time) in WaitForWaitStateChange()
169 State WaitForStateChange(const TimeDelta& wait_time, State expected_state) { in WaitForStateChange() argument
180 while (thread_watcher_state_ != expected_state && in WaitForStateChange()
188 if (exit_state == expected_state) in WaitForStateChange()
197 CheckResponseState expected_state) { in WaitForCheckResponse() argument
209 while (check_response_state_ != expected_state && in WaitForCheckResponse()
217 if (exit_state == expected_state) in WaitForCheckResponse()
/external/chromium/chrome/browser/search_engines/
Dsearch_provider_install_data_unittest.cc70 void VerifyInstallState(SearchProviderInstallData::State expected_state,
144 SearchProviderInstallData::State expected_state, in VerifyInstallState() argument
149 if (expected_state == actual_state) in VerifyInstallState()
154 expected_state << ". Actual " << actual_state << "."; in VerifyInstallState()
/external/chromium/net/ftp/
Dftp_network_transaction_unittest.cc595 State expected_state) in FtpSocketDataProviderEvilEpsv() argument
598 expected_state_(expected_state) {} in FtpSocketDataProviderEvilEpsv()
602 State expected_state) in FtpSocketDataProviderEvilEpsv() argument
605 expected_state_(expected_state) {} in FtpSocketDataProviderEvilEpsv()
631 State expected_state) in FtpSocketDataProviderEvilPasv() argument
633 expected_state_(expected_state) { in FtpSocketDataProviderEvilPasv()
656 FtpSocketDataProviderEvilSize(const char* size_response, State expected_state) in FtpSocketDataProviderEvilSize() argument
658 expected_state_(expected_state) { in FtpSocketDataProviderEvilSize()
/external/chromium/chrome/browser/accessibility/
Daccessibility_win_browsertest.cc69 void SetExpectedState(LONG expected_state);
251 void AccessibleChecker::SetExpectedState(LONG expected_state) { in SetExpectedState() argument
252 state_ = expected_state; in SetExpectedState()
/external/chromium/chrome/browser/extensions/
Dextension_service_unittest.cc648 UpdateState expected_state) { in UpdateExtension() argument
673 int expected_error_count = (expected_state == FAILED) ? 1 : 0; in UpdateExtension()
676 if (expected_state <= FAILED) { in UpdateExtension()
683 (expected_state >= INSTALLED) ? 1 : 0; in UpdateExtension()
685 (expected_state >= ENABLED) ? 1 : 0; in UpdateExtension()