Lines Matching refs:ConnectivityTrial

73         connectivity_trial_(new ConnectivityTrial(  in ConnectivityTrialTest()
115 MOCK_METHOD1(ResultCallback, void(ConnectivityTrial::Result result));
116 Callback<void(ConnectivityTrial::Result)>& result_callback() { in result_callback()
121 Callback<void(ConnectivityTrial::Result)> result_callback_;
149 void ExpectTrialReturn(const ConnectivityTrial::Result& result) { in ExpectTrialReturn()
161 ConnectivityTrial* connectivity_trial() { return connectivity_trial_.get(); } in connectivity_trial()
172 void ExpectTrialRetry(const ConnectivityTrial::Result& result, int delay) { in ExpectTrialRetry()
216 unique_ptr<ConnectivityTrial> connectivity_trial_;
256 ConnectivityTrial::Result(ConnectivityTrial::kPhaseContent, in TEST_F()
257 ConnectivityTrial::kStatusFailure)); in TEST_F()
271 ConnectivityTrial::Result( in TEST_F()
272 ConnectivityTrial::kPhaseConnection, in TEST_F()
273 ConnectivityTrial::kStatusFailure)))) in TEST_F()
347 ConnectivityTrial::Result( in TEST_F()
348 ConnectivityTrial::kPhaseContent, in TEST_F()
349 ConnectivityTrial::kStatusFailure)))) in TEST_F()
373 ExpectTrialReturn(ConnectivityTrial::Result( in TEST_F()
374 ConnectivityTrial::kPhaseContent, in TEST_F()
375 ConnectivityTrial::kStatusFailure)); in TEST_F()
385 ExpectTrialReturn(ConnectivityTrial::Result( in TEST_F()
386 ConnectivityTrial::kPhaseUnknown, in TEST_F()
387 ConnectivityTrial::kStatusTimeout)); in TEST_F()
402 const string response_expected(ConnectivityTrial::kResponseExpected); in TEST_F()
406 ExpectTrialReturn(ConnectivityTrial::Result( in TEST_F()
407 ConnectivityTrial::kPhaseContent, in TEST_F()
408 ConnectivityTrial::kStatusTimeout)); in TEST_F()
417 const string response_expected(ConnectivityTrial::kResponseExpected); in TEST_F()
427 ExpectTrialReturn(ConnectivityTrial::Result( in TEST_F()
428 ConnectivityTrial::kPhaseContent, in TEST_F()
429 ConnectivityTrial::kStatusSuccess)); in TEST_F()
442 ExpectTrialReturn(ConnectivityTrial::Result( in TEST_F()
443 ConnectivityTrial::kPhaseContent, in TEST_F()
444 ConnectivityTrial::kStatusSuccess)); in TEST_F()
452 const ConnectivityTrial::Result& in_trial_result) in ResultMapping()
456 ConnectivityTrial::Result trial_result;
463 ConnectivityTrial::Result trial_result = in TEST_P()
464 ConnectivityTrial::GetPortalResultForRequestResult( in TEST_P()
476 ConnectivityTrial::Result(ConnectivityTrial::kPhaseUnknown,
477 ConnectivityTrial::kStatusFailure)),
480 ConnectivityTrial::Result(ConnectivityTrial::kPhaseUnknown,
481 ConnectivityTrial::kStatusFailure)),
484 ConnectivityTrial::Result(ConnectivityTrial::kPhaseDNS,
485 ConnectivityTrial::kStatusFailure)),
488 ConnectivityTrial::Result(ConnectivityTrial::kPhaseDNS,
489 ConnectivityTrial::kStatusTimeout)),
492 ConnectivityTrial::Result(ConnectivityTrial::kPhaseConnection,
493 ConnectivityTrial::kStatusFailure)),
496 ConnectivityTrial::Result(ConnectivityTrial::kPhaseConnection,
497 ConnectivityTrial::kStatusTimeout)),
500 ConnectivityTrial::Result(ConnectivityTrial::kPhaseHTTP,
501 ConnectivityTrial::kStatusFailure)),
504 ConnectivityTrial::Result(ConnectivityTrial::kPhaseHTTP,
505 ConnectivityTrial::kStatusTimeout)),
508 ConnectivityTrial::Result(ConnectivityTrial::kPhaseHTTP,
509 ConnectivityTrial::kStatusFailure)),
512 ConnectivityTrial::Result(ConnectivityTrial::kPhaseHTTP,
513 ConnectivityTrial::kStatusTimeout)),
516 ConnectivityTrial::Result(ConnectivityTrial::kPhaseContent,
517 ConnectivityTrial::kStatusFailure))));