Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3424)

Unified Diff: chrome/browser/autofill/autofill_download_unittest.cc

Issue 8375039: Create a content::UrlFetcher interface that lives in content/public/common and convert users to i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/autofill_download_unittest.cc
===================================================================
--- chrome/browser/autofill/autofill_download_unittest.cc (revision 107061)
+++ chrome/browser/autofill/autofill_download_unittest.cc (working copy)
@@ -312,7 +312,7 @@
mock_metric_logger));
fetcher = factory.GetFetcherByID(3);
ASSERT_TRUE(fetcher);
- fetcher->set_backoff_delay_for_testing(
+ fetcher->SetBackoffDelayForTesting(
base::TimeDelta::FromMilliseconds(TestTimeouts::action_max_timeout_ms()));
FakeOnURLFetchComplete(fetcher, 500, std::string(responses[0]));
@@ -338,7 +338,7 @@
*(form_structures[0]), true, FieldTypeSet()));
fetcher = factory.GetFetcherByID(4);
ASSERT_TRUE(fetcher);
- fetcher->set_backoff_delay_for_testing(
+ fetcher->SetBackoffDelayForTesting(
base::TimeDelta::FromMilliseconds(TestTimeouts::action_max_timeout_ms()));
FakeOnURLFetchComplete(fetcher, 503, std::string(responses[2]));
EXPECT_EQ(AutofillDownloadTest::REQUEST_UPLOAD_FAILED,

Powered by Google App Engine
This is Rietveld 408576698