/external/chromium/chrome/browser/chromeos/ |
D | gview_request_interceptor_unittest.cc | 105 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/ |
D | connection_tester_unittest.cc | 104 ConnectionTesterDelegate test_delegate_; member in __anone89cd7fd0111::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_org/chrome/browser/chromeos/drive/ |
D | drive_url_request_job_unittest.cc | 129 test_delegate_.reset(new TestDelegate); in SetUp() 183 scoped_ptr<TestDelegate> test_delegate_; member in drive::DriveURLRequestJobTest 189 test_delegate_.get(), in TEST_F() 208 test_delegate_.get(), in TEST_F() 225 EXPECT_EQ(expected_data, test_delegate_->data_received()); in TEST_F() 231 test_delegate_.reset(new TestDelegate); in TEST_F() 234 test_delegate_.get(), in TEST_F() 247 EXPECT_EQ(expected_data, test_delegate_->data_received()); in TEST_F() 253 test_delegate_->set_quit_on_redirect(true); in TEST_F() 257 test_delegate_.get(), in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/net/ |
D | connection_tester_unittest.cc | 110 ConnectionTesterDelegate test_delegate_; member in __anon3a5e51a40111::ConnectionTesterTest 158 ConnectionTester tester(&test_delegate_, in TEST_F() 173 EXPECT_EQ(1, test_delegate_.start_connection_test_suite_count()); in TEST_F() 175 test_delegate_.start_connection_test_experiment_count()); in TEST_F() 177 test_delegate_.completed_connection_test_experiment_count()); in TEST_F() 178 EXPECT_EQ(1, test_delegate_.completed_connection_test_suite_count()); in TEST_F() 185 new ConnectionTester(&test_delegate_, in TEST_F() 197 EXPECT_EQ(1, test_delegate_.start_connection_test_suite_count()); in TEST_F() 198 EXPECT_EQ(1, test_delegate_.start_connection_test_experiment_count()); in TEST_F() 199 EXPECT_EQ(0, test_delegate_.completed_connection_test_experiment_count()); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/download/ |
D | download_test_file_activity_observer.cc | 74 test_delegate_ = mock_delegate->GetWeakPtr(); in DownloadTestFileActivityObserver() 84 if (test_delegate_.get()) in EnableFileChooser() 85 test_delegate_->EnableFileChooser(enable); in EnableFileChooser() 89 return test_delegate_.get() && in TestAndResetDidShowFileChooser() 90 test_delegate_->TestAndResetDidShowFileChooser(); in TestAndResetDidShowFileChooser()
|
D | download_test_file_activity_observer.h | 37 base::WeakPtr<MockDownloadManagerDelegate> test_delegate_; variable
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_protocols_unittest.cc | 135 net::TestDelegate test_delegate_; member in extensions::ExtensionProtocolTest 177 &test_delegate_, in TEST_F() 195 &test_delegate_, in TEST_F() 237 &test_delegate_, in TEST_F() 250 &test_delegate_, in TEST_F() 273 &test_delegate_, in TEST_F() 312 &test_delegate_, in TEST_F() 320 &test_delegate_, in TEST_F() 330 &test_delegate_, in TEST_F()
|
/external/chromium_org/chrome/browser/extensions/api/page_capture/ |
D | page_capture_api.cc | 39 static PageCaptureSaveAsMHTMLFunction::TestDelegate* test_delegate_ = NULL; variable 54 test_delegate_ = delegate; in SetTestDelegate() 124 if (test_delegate_) in TemporaryFileCreated() 125 test_delegate_->OnTemporaryFileCreated(mhtml_path_); in TemporaryFileCreated()
|
/external/chromium/chrome/browser/chromeos/login/ |
D | signed_settings_helper.h | 93 test_delegate_ = test_delegate; in set_test_delegate() 98 SignedSettingsHelper() : test_delegate_(NULL) { in SignedSettingsHelper() 101 TestDelegate* test_delegate_; variable
|
D | signed_settings_helper.cc | 426 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_org/content/shell/renderer/ |
D | shell_render_process_observer.h | 45 return test_delegate_; in test_delegate() 59 WebTestRunner::WebTestDelegate* test_delegate_; variable
|
D | shell_render_process_observer.cc | 40 test_delegate_(NULL) { in ShellRenderProcessObserver() 56 test_delegate_ = delegate; in SetTestDelegate()
|
/external/chromium/chrome/browser/download/ |
D | download_request_limiter_unittest.cc | 26 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
|
/external/chromium_org/chrome/browser/autofill/ |
D | autofill_interactive_uitest.cc | 215 autofill_manager->SetTestDelegate(&test_delegate_); in SetUpOnMainThread() 354 test_delegate_.Reset(); in SendKeyToPageAndWait() 357 test_delegate_.Wait(); in SendKeyToPageAndWait() 369 test_delegate_.Reset(); in SendKeyToPopupAndWait() 374 test_delegate_.Wait(); in SendKeyToPopupAndWait() 410 AutofillManagerTestDelegateImpl test_delegate_; member in autofill::AutofillInteractiveTest
|
/external/chromium_org/components/autofill/core/browser/ |
D | autofill_manager.cc | 185 test_delegate_(NULL), in AutofillManager() 530 if (test_delegate_) in OnDidPreviewAutofillFormData() 531 test_delegate_->DidPreviewFormData(); in OnDidPreviewAutofillFormData() 535 if (test_delegate_) in OnDidFillAutofillFormData() 536 test_delegate_->DidFillFormData(); in OnDidFillAutofillFormData() 549 if (test_delegate_) in OnDidShowAutofillSuggestions() 550 test_delegate_->DidShowSuggestions(); in OnDidShowAutofillSuggestions() 598 test_delegate_ = delegate; in SetTestDelegate() 790 test_delegate_(NULL), in AutofillManager()
|
D | autofill_manager.h | 337 autofill::AutofillManagerTestDelegate* test_delegate_; variable
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_menu_delegate_unittest.cc | 58 bookmark_menu_delegate_->Init(&test_delegate_, NULL, node, 0, in NewAndInitDelegateForPermanent() 100 views::MenuDelegate test_delegate_; member in BookmarkMenuDelegateTest
|