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

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

Issue 8082019: more content exports needed for unit_tests and browser_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert export of browser_accessibility_win for now Created 9 years, 3 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
diff --git a/chrome/browser/autofill/autofill_download_unittest.cc b/chrome/browser/autofill/autofill_download_unittest.cc
index 8aeb3bbcf25a51452cd573ae8217e0ecaef21619..bb08a20b4a616b5a8218b7242169f77e85938aee 100644
--- a/chrome/browser/autofill/autofill_download_unittest.cc
+++ b/chrome/browser/autofill/autofill_download_unittest.cc
@@ -332,7 +332,7 @@ TEST_F(AutofillDownloadTest, QueryAndUploadTest) {
mock_metric_logger));
fetcher = factory.GetFetcherByID(3);
ASSERT_TRUE(fetcher);
- fetcher->set_backoff_delay(
+ fetcher->set_backoff_delay_for_testing(
base::TimeDelta::FromMilliseconds(TestTimeouts::action_max_timeout_ms()));
FakeOnURLFetchComplete(fetcher, 500, std::string(responses[0]));
@@ -358,7 +358,7 @@ TEST_F(AutofillDownloadTest, QueryAndUploadTest) {
*(form_structures[0]), true, FieldTypeSet()));
fetcher = factory.GetFetcherByID(4);
ASSERT_TRUE(fetcher);
- fetcher->set_backoff_delay(
+ fetcher->set_backoff_delay_for_testing(
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