Lines Matching refs:url
78 virtual void CreateFetcher(const GURL& url);
82 const GURL& url,
123 void URLFetcherTest::CreateFetcher(const GURL& url) {
124 fetcher_ = new URLFetcher(url, URLFetcher::GET, this);
131 const GURL& url,
154 virtual void CreateFetcher(const GURL& url);
158 const GURL& url,
170 const GURL& url,
180 virtual void CreateFetcher(const GURL& url);
183 const GURL& url,
196 virtual void CreateFetcher(const GURL& url);
199 const GURL& url,
215 const GURL& url,
228 virtual void CreateFetcher(const GURL& url);
231 const GURL& url,
284 const GURL& url,
300 FetcherWrapperTask(URLFetcherTest* test, const GURL& url)
301 : test_(test), url_(url) { }
311 void URLFetcherPostTest::CreateFetcher(const GURL& url) {
312 fetcher_ = new URLFetcher(url, URLFetcher::POST, this);
321 const GURL& url,
327 URLFetcherTest::OnURLFetchComplete(source, url, status, response_code,
333 const GURL& url,
342 URLFetcherTest::OnURLFetchComplete(source, url, status, response_code,
346 void URLFetcherProtectTest::CreateFetcher(const GURL& url) {
347 fetcher_ = new URLFetcher(url, URLFetcher::GET, this);
357 const GURL& url,
381 URLFetcherTest::OnURLFetchComplete(source, url, status, response_code,
387 void URLFetcherProtectTestPassedThrough::CreateFetcher(const GURL& url) {
388 fetcher_ = new URLFetcher(url, URLFetcher::GET, this);
399 const GURL& url,
438 const GURL& url,
456 void URLFetcherCancelTest::CreateFetcher(const GURL& url) {
457 fetcher_ = new URLFetcher(url, URLFetcher::GET, this);
471 const GURL& url,
491 const GURL& url,
575 GURL url(test_server.GetURL("defaultresponse"));
577 // Registers an entry for test url. It only allows 3 requests to be sent
583 manager->OverrideEntryForTests(url, entry);
585 CreateFetcher(url);
589 net::URLRequestThrottlerManager::GetInstance()->EraseEntryForTests(url);
596 GURL url(test_server.GetURL("files/server-unavailable.html"));
598 // Registers an entry for test url. The backoff time is calculated by:
606 manager->OverrideEntryForTests(url, entry);
608 CreateFetcher(url);
612 net::URLRequestThrottlerManager::GetInstance()->EraseEntryForTests(url);
619 GURL url(test_server.GetURL("files/server-unavailable.html"));
621 // Registers an entry for test url. The backoff time is calculated by:
632 manager->OverrideEntryForTests(url, entry);
634 CreateFetcher(url);
638 net::URLRequestThrottlerManager::GetInstance()->EraseEntryForTests(url);
665 GURL url(test_server.GetURL("files/server-unavailable.html"));
667 // Registers an entry for test url. The backoff time is calculated by:
676 manager->OverrideEntryForTests(url, entry);
685 t.message_loop()->PostTask(FROM_HERE, new FetcherWrapperTask(this, url));
689 net::URLRequestThrottlerManager::GetInstance()->EraseEntryForTests(url);
696 GURL url(test_server.GetURL("files/server-unavailable.html"));
698 // Register an entry for test url.
706 manager->OverrideEntryForTests(url, entry);
716 t.message_loop()->PostTask(FROM_HERE, new FetcherWrapperTask(this, url));
720 net::URLRequestThrottlerManager::GetInstance()->EraseEntryForTests(url);