Home | History | Annotate | Download | only in net

Lines Matching defs:TestRunner

292 // ConnectionTester::TestRunner ----------------------------------------------
294 // TestRunner is a helper class for running an individual experiment. It can
296 class ConnectionTester::TestRunner : public net::URLRequest::Delegate {
298 // |tester| must remain alive throughout the TestRunner's lifetime.
300 TestRunner(ConnectionTester* tester, net::NetLog* net_log)
339 base::WeakPtrFactory<TestRunner> weak_factory_;
341 DISALLOW_COPY_AND_ASSIGN(TestRunner);
344 void ConnectionTester::TestRunner::OnResponseStarted(net::URLRequest* request) {
354 void ConnectionTester::TestRunner::OnReadCompleted(net::URLRequest* request,
365 void ConnectionTester::TestRunner::ReadBody(net::URLRequest* request) {
378 void ConnectionTester::TestRunner::OnResponseCompleted(
391 base::Bind(&TestRunner::OnExperimentCompletedWithResult,
395 void ConnectionTester::TestRunner::OnExperimentCompletedWithResult(int result) {
399 void ConnectionTester::TestRunner::ProxyConfigServiceCreated(
416 void ConnectionTester::TestRunner::Run(const Experiment& experiment) {
424 TestRunner::ProxyConfigServiceCreated, weak_factory_.GetWeakPtr(),
521 current_test_runner_.reset(new TestRunner(this, net_log_));