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

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

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
« no previous file with comments | « components/offline_pages/core/prefetch/test_prefetch_dispatcher.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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++;
}
« no previous file with comments | « components/offline_pages/core/prefetch/test_prefetch_dispatcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698