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

Unified Diff: components/offline_pages/core/prefetch/test_prefetch_dispatcher.h

Issue 2920083002: Prefetching: Introduce store commands abstractions to be used by tasks. (Closed)
Patch Set: Minor changes Created 3 years, 6 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: 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;

Powered by Google App Engine
This is Rietveld 408576698