Index: components/offline_pages/core/prefetch/test_prefetch_dispatcher.cc |
diff --git a/components/offline_pages/core/prefetch/test_prefetch_dispatcher.cc b/components/offline_pages/core/prefetch/test_prefetch_dispatcher.cc |
index da98463702d423b45ed1a545f882747a3dbe7e1d..c0a555ebe6a4108dbf37e260afa6686fefd0fbf5 100644 |
--- a/components/offline_pages/core/prefetch/test_prefetch_dispatcher.cc |
+++ b/components/offline_pages/core/prefetch/test_prefetch_dispatcher.cc |
@@ -13,8 +13,10 @@ TestPrefetchDispatcher::TestPrefetchDispatcher() = default; |
TestPrefetchDispatcher::~TestPrefetchDispatcher() = default; |
void TestPrefetchDispatcher::AddCandidatePrefetchURLs( |
- const std::vector<PrefetchURL>& suggested_urls) { |
- latest_prefetch_urls = suggested_urls; |
+ const std::string& name_space, |
+ const std::vector<PrefetchURL>& prefetch_urls) { |
+ latest_name_space = name_space; |
+ latest_prefetch_urls = prefetch_urls; |
new_suggestions_count++; |
} |