Home
last modified time | relevance | path

Searched refs:TestDelegate (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium_org/base/files/
Dfile_path_watcher_browsertest.cc38 class TestDelegate;
49 void OnChange(TestDelegate* delegate) { in OnChange()
55 void Register(TestDelegate* delegate) { in Register()
71 void RecordChange(TestDelegate* delegate) { in RecordChange()
83 std::set<TestDelegate*> delegates_;
86 std::set<TestDelegate*> signaled_;
108 class TestDelegate : public TestDelegateBase { class
110 explicit TestDelegate(NotificationCollector* collector) in TestDelegate() function in base::__anon4769743e0111::TestDelegate
114 virtual ~TestDelegate() {} in ~TestDelegate()
126 DISALLOW_COPY_AND_ASSIGN(TestDelegate);
[all …]
/external/chromium_org/chrome/browser/notifications/
Dmessage_center_notifications_browsertest.cc70 class TestDelegate : public NotificationDelegate { class in MessageCenterNotificationsTest
72 explicit TestDelegate(const std::string& id) : id_(id) {} in TestDelegate() function in MessageCenterNotificationsTest::TestDelegate
93 virtual ~TestDelegate() {} in ~TestDelegate()
97 DISALLOW_COPY_AND_ASSIGN(TestDelegate);
101 TestDelegate** delegate = NULL) { in CreateTestNotification()
102 TestDelegate* new_delegate = new TestDelegate(id); in CreateTestNotification()
119 TestDelegate** delegate = NULL) { in CreateRichTestNotification()
120 TestDelegate* new_delegate = new TestDelegate(id); in CreateRichTestNotification()
178 TestDelegate* delegate; in IN_PROC_BROWSER_TEST_F()
195 TestDelegate* delegate; in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/net/quic/
Dquic_connection_helper_test.cc16 class TestDelegate : public QuicAlarm::Delegate { class
18 TestDelegate() : fired_(false) {} in TestDelegate() function in net::test::__anon0ad3c8ac0111::TestDelegate
54 TestDelegate* delegate = new TestDelegate(); in TEST_F()
71 TestDelegate* delegate = new TestDelegate(); in TEST_F()
89 TestDelegate* delegate = new TestDelegate(); in TEST_F()
116 TestDelegate* delegate = new TestDelegate(); in TEST_F()
145 TestDelegate* delegate = new TestDelegate(); in TEST_F()
/external/chromium_org/net/tools/quic/
Dquic_epoll_connection_helper_test.cc18 class TestDelegate : public QuicAlarm::Delegate { class
20 TestDelegate() : fired_(false) {} in TestDelegate() function in net::tools::test::__anon66d1dfa70111::TestDelegate
57 TestDelegate* delegate = new TestDelegate(); in TEST_F()
70 TestDelegate* delegate = new TestDelegate(); in TEST_F()
85 TestDelegate* delegate = new TestDelegate(); in TEST_F()
107 TestDelegate* delegate = new TestDelegate(); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/push_messaging/
Dobfuscated_gaia_id_fetcher_unittest.cc21 class TestDelegate : public extensions::ObfuscatedGaiaIdFetcher::Delegate { class
31 TestDelegate() : succeeded_(false), failed_(false) {} in TestDelegate() function in __anoncdb461260111::TestDelegate
32 virtual ~TestDelegate() {} in ~TestDelegate()
39 DISALLOW_COPY_AND_ASSIGN(TestDelegate);
77 TestDelegate delegate; in TEST()
91 TestDelegate delegate; in TEST()
/external/chromium_org/chrome/browser/chromeos/power/
Drenderer_freezer_unittest.cc58 class TestDelegate : public RendererFreezer::Delegate, public ActionRecorder { class
60 TestDelegate() in TestDelegate() function in chromeos::__anon9cffbb290111::TestDelegate
65 virtual ~TestDelegate() {} in ~TestDelegate()
104 DISALLOW_COPY_AND_ASSIGN(TestDelegate);
113 test_delegate_(new TestDelegate()) { in RendererFreezerTest()
131 TestDelegate* test_delegate_;
/external/chromium_org/net/url_request/
Durl_request_unittest.cc637 TestDelegate d; in TEST_F()
659 TestDelegate d; in TEST_F()
707 TestDelegate d; in TEST_F()
737 TestDelegate d; in TEST_F()
770 TestDelegate d; in TEST_F()
815 TestDelegate d; in TEST_F()
853 TestDelegate d; in TEST_F()
881 TestDelegate d; in TEST_F()
894 TestDelegate d; in TEST_F()
912 TestDelegate d; in TEST_F()
[all …]
Durl_request_ftp_job_unittest.cc142 TestDelegate delegate_;
271 TestDelegate request_delegate; in TEST_F()
297 TestDelegate request_delegate; in TEST_F()
324 TestDelegate request_delegate; in TEST_F()
367 TestDelegate request_delegate; in TEST_F()
401 TestDelegate request_delegate; in TEST_F()
442 TestDelegate request_delegate; in TEST_F()
507 TestDelegate request_delegate; in TEST_F()
542 TestDelegate request_delegate; in TEST_F()
575 TestDelegate request_delegate; in TEST_F()
[all …]
Durl_request_test_util.cc159 TestDelegate::TestDelegate() in TestDelegate() function in net::TestDelegate
181 TestDelegate::~TestDelegate() {} in ~TestDelegate()
183 void TestDelegate::ClearFullRequestHeaders() { in ClearFullRequestHeaders()
188 void TestDelegate::OnReceivedRedirect(URLRequest* request, in OnReceivedRedirect()
206 void TestDelegate::OnBeforeNetworkStart(URLRequest* request, bool* defer) { in OnBeforeNetworkStart()
215 void TestDelegate::OnAuthRequired(URLRequest* request, in OnAuthRequired()
225 void TestDelegate::OnSSLCertificateError(URLRequest* request, in OnSSLCertificateError()
239 void TestDelegate::OnResponseStarted(URLRequest* request) { in OnResponseStarted()
266 void TestDelegate::OnReadCompleted(URLRequest* request, int bytes_read) { in OnReadCompleted()
302 void TestDelegate::OnResponseCompleted(URLRequest* request) { in OnResponseCompleted()
Durl_request_job_unittest.cc82 TestDelegate d; in TEST()
102 TestDelegate d; in TEST()
125 TestDelegate d; in TEST()
148 TestDelegate d; in TEST()
171 TestDelegate d; in TEST()
Durl_request_job_factory_impl_unittest.cc62 TestDelegate delegate; in TEST()
74 TestDelegate delegate; in TEST()
Durl_request_context_builder_unittest.cc82 TestDelegate delegate; in TEST_F()
100 TestDelegate delegate; in TEST_F()
Durl_request_test_util.h125 class TestDelegate : public URLRequest::Delegate {
127 TestDelegate();
128 virtual ~TestDelegate();
/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_task_executor_unittest.cc24 class TestDelegate : public FileTaskExecutorDelegate { class
26 explicit TestDelegate(std::set<std::string>* opend_urls) in TestDelegate() function in drive::__anon18c50fcd0111::TestDelegate
96 TestDelegate* const delegate_ptr = new TestDelegate(&opend_urls); in TEST()
130 TestDelegate* const delegate_ptr = new TestDelegate(&opend_urls); in TEST()
/external/chromium_org/chrome/browser/
Dimage_holder_unittest.cc15 class TestDelegate : public chrome::ImageHolderDelegate { class
17 TestDelegate() : on_fetch_complete_called_(false) {} in TestDelegate() function in __anonf1eb8ed50111::TestDelegate
31 TestDelegate delegate; in TEST_F()
46 TestDelegate delegate; in TEST_F()
64 TestDelegate delegate; in TEST_F()
/external/chromium_org/content/renderer/pepper/
Dpepper_device_enumeration_host_helper_unittest.cc28 class TestDelegate : public PepperDeviceEnumerationHostHelper::Delegate, class
29 public base::SupportsWeakPtr<TestDelegate> {
31 TestDelegate() : last_used_id_(0) {} in TestDelegate() function in content::__anonf9f61afd0111::TestDelegate
33 virtual ~TestDelegate() { CHECK(callbacks_.empty()); } in ~TestDelegate()
72 DISALLOW_COPY_AND_ASSIGN(TestDelegate);
120 TestDelegate delegate_;
/external/chromium_org/chrome/browser/download/
Ddownload_ui_controller_unittest.cc37 class TestDelegate : public DownloadUIController::Delegate { class
39 explicit TestDelegate(base::WeakPtr<content::DownloadItem*> receiver);
40 virtual ~TestDelegate() {} in ~TestDelegate()
48 TestDelegate::TestDelegate(base::WeakPtr<content::DownloadItem*> receiver) in TestDelegate() function in __anon6b7b79b40111::TestDelegate
52 void TestDelegate::OnNewDownloadReady(content::DownloadItem* item) { in OnNewDownloadReady()
237 new TestDelegate(notified_item_receiver_factory_.GetWeakPtr())); in GetTestDelegate()
/external/chromium_org/chrome/browser/chromeos/fileapi/
Dexternal_file_url_request_job_unittest.cc83 class TestDelegate : public net::TestDelegate { class
85 TestDelegate() {} in TestDelegate() function in chromeos::__anon972d19030111::TestDelegate
94 net::TestDelegate::OnReceivedRedirect( in OnReceivedRedirect()
101 DISALLOW_COPY_AND_ASSIGN(TestDelegate);
137 test_delegate_.reset(new TestDelegate); in SetUp()
182 scoped_ptr<TestDelegate> test_delegate_;
273 test_delegate_.reset(new TestDelegate); in TEST_F()
/external/chromium_org/chrome/browser/extensions/
Duser_script_listener_unittest.cc216 net::TestDelegate delegate; in TEST_F()
234 net::TestDelegate delegate; in TEST_F()
256 net::TestDelegate delegate; in TEST_F()
272 net::TestDelegate delegate; in TEST_F()
303 net::TestDelegate delegate; in TEST_F()
334 net::TestDelegate delegate; in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/page_capture/
Dpage_capture_api.h30 class TestDelegate {
36 static void SetTestDelegate(TestDelegate* delegate);
Dpage_capture_api.cc40 static PageCaptureSaveAsMHTMLFunction::TestDelegate* test_delegate_ = NULL;
54 void PageCaptureSaveAsMHTMLFunction::SetTestDelegate(TestDelegate* delegate) { in SetTestDelegate()
/external/chromium_org/extensions/browser/
Dcontent_verify_job.h70 class TestDelegate {
91 static void SetDelegateForTests(TestDelegate* delegate);
Dcontent_verify_job.cc22 ContentVerifyJob::TestDelegate* g_test_delegate = NULL;
189 void ContentVerifyJob::SetDelegateForTests(TestDelegate* delegate) { in SetDelegateForTests()
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Dget_file_for_saving_operation_unittest.cc28 class TestDelegate : public OperationDelegate { class
68 TestDelegate delegate_;
/external/chromium_org/components/data_reduction_proxy/browser/
Ddata_reduction_proxy_protocol_unittest.cc38 using net::TestDelegate;
189 TestDelegate d; in ExecuteRequestExpectingContentAndHeader()
340 TestDelegate test_delegate; in TEST_F()
383 TestDelegate test_delegate; in TEST_F()
790 TestDelegate d; in TEST_F()

12