Index: net/sdch/sdch_owner_unittest.cc |
diff --git a/net/sdch/sdch_owner_unittest.cc b/net/sdch/sdch_owner_unittest.cc |
index e89533a361c4a45477c6affcf16a87ea2820031b..77f20e3fbdac6dc20490daa452098adccaa110cf 100644 |
--- a/net/sdch/sdch_owner_unittest.cc |
+++ b/net/sdch/sdch_owner_unittest.cc |
@@ -184,7 +184,9 @@ class SdchOwnerTest : public testing::Test { |
if (DictionaryPresentInManager(server_hash)) |
return false; |
- sdch_owner().OnDictionaryFetched(dictionary_text, dictionary_url, net_log_); |
+ sdch_owner().OnDictionaryFetched(dictionary_text, dictionary_url, |
+ scoped_ptr<SdchDictionaryFetcher::Data>(), |
+ net_log_); |
if (server_hash_p) |
*server_hash_p = server_hash; |
return DictionaryPresentInManager(server_hash); |
@@ -220,7 +222,9 @@ TEST_F(SdchOwnerTest, OnGetDictionary_Fetching) { |
// Fetch generated when half full. |
GURL dict_url2(std::string(generic_url) + "/d2"); |
std::string dictionary1(NewSdchDictionary(kMaxSizeForTesting / 2)); |
- sdch_owner().OnDictionaryFetched(dictionary1, dict_url1, bound_net_log()); |
+ sdch_owner().OnDictionaryFetched(dictionary1, dict_url1, |
+ scoped_ptr<SdchDictionaryFetcher::Data>(), |
+ bound_net_log()); |
EXPECT_EQ(0, JobsRecentlyCreated()); |
SignalGetDictionaryAndClearJobs(request_url, dict_url2); |
EXPECT_EQ(1, JobsRecentlyCreated()); |
@@ -229,7 +233,9 @@ TEST_F(SdchOwnerTest, OnGetDictionary_Fetching) { |
GURL dict_url3(std::string(generic_url) + "/d3"); |
std::string dictionary2(NewSdchDictionary( |
(kMaxSizeForTesting / 2 - kMinFetchSpaceForTesting / 2))); |
- sdch_owner().OnDictionaryFetched(dictionary2, dict_url2, bound_net_log()); |
+ sdch_owner().OnDictionaryFetched(dictionary2, dict_url2, |
+ scoped_ptr<SdchDictionaryFetcher::Data>(), |
+ bound_net_log()); |
EXPECT_EQ(0, JobsRecentlyCreated()); |
SignalGetDictionaryAndClearJobs(request_url, dict_url3); |
EXPECT_EQ(0, JobsRecentlyCreated()); |