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

Unified Diff: components/offline_pages/background/request_coordinator.h

Issue 1956633002: Menu hook plumbed through to RequestCoordinator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove reference to unit test which I forgot to include Created 4 years, 7 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/background/request_coordinator.h
diff --git a/components/offline_pages/background/request_coordinator.h b/components/offline_pages/background/request_coordinator.h
index 56fa96e67d66f803cf469e5fd08595800f45c11a..c5dee91e55823f3af3e6948094f24d5fb8aee1df 100644
--- a/components/offline_pages/background/request_coordinator.h
+++ b/components/offline_pages/background/request_coordinator.h
@@ -10,9 +10,11 @@
#include "base/callback.h"
#include "base/macros.h"
#include "components/keyed_service/core/keyed_service.h"
+#include "url/gurl.h"
namespace offline_pages {
+struct ClientId;
class OfflinerPolicy;
class OfflinerFactory;
class Offliner;
@@ -31,7 +33,7 @@ class RequestCoordinator : public KeyedService {
// Queues |request| to later load and save when system conditions allow.
// Returns true if the page could be queued successfully.
- bool SavePageLater(const SavePageRequest& request);
+ bool SavePageLater(const GURL& url, const ClientId& client_id);
// Starts processing of one or more queued save page later requests.
// Returns whether processing was started and that caller should expect

Powered by Google App Engine
This is Rietveld 408576698