Index: components/offline_pages/core/prefetch/test_prefetch_dispatcher.h |
diff --git a/components/offline_pages/core/prefetch/test_prefetch_dispatcher.h b/components/offline_pages/core/prefetch/test_prefetch_dispatcher.h |
index f768101e7d4ecc6be23568ecf0454be2d816a791..fb6620d56ad22c2cc7975cc7917174f32546d401 100644 |
--- a/components/offline_pages/core/prefetch/test_prefetch_dispatcher.h |
+++ b/components/offline_pages/core/prefetch/test_prefetch_dispatcher.h |
@@ -22,7 +22,8 @@ class TestPrefetchDispatcher : public PrefetchDispatcher { |
// PrefetchDispatcher implementation. |
void AddCandidatePrefetchURLs( |
- const std::vector<PrefetchURL>& suggested_urls) override; |
+ const std::string& name_space, |
+ const std::vector<PrefetchURL>& prefetch_urls) override; |
void RemoveAllUnprocessedPrefetchURLs(const std::string& name_space) override; |
void RemovePrefetchURLsByClientId(const ClientId& client_id) override; |
void BeginBackgroundTask(std::unique_ptr<ScopedBackgroundTask> task) override; |
@@ -32,6 +33,7 @@ class TestPrefetchDispatcher : public PrefetchDispatcher { |
const std::string& operation_name) override; |
void RequestFinishBackgroundTaskForTest() override; |
+ std::string latest_name_space; |
std::vector<PrefetchURL> latest_prefetch_urls; |
std::unique_ptr<ClientId> last_removed_client_id; |
std::vector<std::string> operation_list; |