Index: chrome/browser/autofill/autofill_download_unittest.cc |
=================================================================== |
--- chrome/browser/autofill/autofill_download_unittest.cc (revision 71339) |
+++ chrome/browser/autofill/autofill_download_unittest.cc (working copy) |
@@ -195,10 +195,10 @@ |
helper.download_manager.SetNegativeUploadRate(1.0); |
// Request with id 1. |
EXPECT_TRUE(helper.download_manager.StartUploadRequest(*(form_structures[0]), |
- true)); |
+ true, "")); |
// Request with id 2. |
EXPECT_TRUE(helper.download_manager.StartUploadRequest(*(form_structures[1]), |
- false)); |
+ false, "")); |
const char *responses[] = { |
"<autofillqueryresponse>" |
@@ -270,9 +270,9 @@ |
helper.download_manager.SetNegativeUploadRate(0.0); |
// No actual requests for the next two calls, as we set upload rate to 0%. |
EXPECT_FALSE(helper.download_manager.StartUploadRequest(*(form_structures[0]), |
- true)); |
+ true, "")); |
EXPECT_FALSE(helper.download_manager.StartUploadRequest(*(form_structures[1]), |
- false)); |
+ false, "")); |
fetcher = factory.GetFetcherByID(3); |
EXPECT_EQ(NULL, fetcher); |
@@ -306,7 +306,7 @@ |
helper.download_manager.SetPositiveUploadRate(1.0); |
// Request with id 4. |
EXPECT_TRUE(helper.download_manager.StartUploadRequest(*(form_structures[0]), |
- true)); |
+ true, "")); |
fetcher = factory.GetFetcherByID(4); |
ASSERT_TRUE(fetcher); |
fetcher->set_backoff_delay( |
@@ -322,7 +322,7 @@ |
// Upload requests should be ignored for the next 10 seconds. |
EXPECT_FALSE(helper.download_manager.StartUploadRequest(*(form_structures[0]), |
- true)); |
+ true, "")); |
fetcher = factory.GetFetcherByID(5); |
EXPECT_EQ(NULL, fetcher); |