Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/chromeos/
Dgview_request_interceptor_unittest.cc105 TestDelegate test_delegate_; member in chromeos::GViewRequestInterceptorTest
111 net::URLRequest request(GURL("http://foo.com/index.html"), &test_delegate_); in TEST_F()
114 EXPECT_EQ(0, test_delegate_.received_redirect_count()); in TEST_F()
119 net::URLRequest request(GURL("http://foo.com/file.pdf"), &test_delegate_); in TEST_F()
123 EXPECT_EQ(0, test_delegate_.received_redirect_count()); in TEST_F()
137 net::URLRequest request(GURL("http://foo.com/file.pdf"), &test_delegate_); in TEST_F()
140 EXPECT_EQ(0, test_delegate_.received_redirect_count()); in TEST_F()
154 net::URLRequest request(GURL("http://foo.com/file.pdf"), &test_delegate_); in TEST_F()
157 EXPECT_EQ(1, test_delegate_.received_redirect_count()); in TEST_F()
167 net::URLRequest request(GURL("http://foo.com/file.pdf"), &test_delegate_); in TEST_F()
[all …]
/external/chromium/chrome/browser/net/
Dconnection_tester_unittest.cc104 ConnectionTesterDelegate test_delegate_; member in __anon45919eb70111::ConnectionTesterTest
146 ConnectionTester tester(&test_delegate_, proxy_script_fetcher_context_); in TEST_F()
159 EXPECT_EQ(1, test_delegate_.start_connection_test_suite_count()); in TEST_F()
161 test_delegate_.start_connection_test_experiment_count()); in TEST_F()
163 test_delegate_.completed_connection_test_experiment_count()); in TEST_F()
164 EXPECT_EQ(1, test_delegate_.completed_connection_test_suite_count()); in TEST_F()
171 new ConnectionTester(&test_delegate_, proxy_script_fetcher_context_)); in TEST_F()
179 EXPECT_EQ(1, test_delegate_.start_connection_test_suite_count()); in TEST_F()
180 EXPECT_EQ(1, test_delegate_.start_connection_test_experiment_count()); in TEST_F()
181 EXPECT_EQ(0, test_delegate_.completed_connection_test_experiment_count()); in TEST_F()
[all …]
/external/chromium/chrome/browser/chromeos/login/
Dsigned_settings_helper.h93 test_delegate_ = test_delegate; in set_test_delegate()
98 SignedSettingsHelper() : test_delegate_(NULL) { in SignedSettingsHelper()
101 TestDelegate* test_delegate_; variable
Dsigned_settings_helper.cc426 if (test_delegate_) in OnOpCreated()
427 test_delegate_->OnOpCreated(context->op()); in OnOpCreated()
433 if (test_delegate_) in OnOpStarted()
434 test_delegate_->OnOpStarted(context->op()); in OnOpStarted()
445 if (test_delegate_) in OnOpCompleted()
446 test_delegate_->OnOpCompleted(context->op()); in OnOpCompleted()
/external/chromium/chrome/browser/download/
Ddownload_request_limiter_unittest.cc26 test_delegate_.reset(new DownloadRequestLimiterTestDelegate(this)); in SetUp()
27 DownloadRequestLimiter::SetTestingDelegate(test_delegate_.get()); in SetUp()
70 scoped_ptr<DownloadRequestLimiterTestDelegate> test_delegate_; member in DownloadRequestLimiterTest