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

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

Issue 2921783002: [Offline Prefetch] Pass api key to offline prefetch requests (Closed)
Patch Set: Rebase Created 3 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/core/prefetch/get_operation_request.h
diff --git a/components/offline_pages/core/prefetch/get_operation_request.h b/components/offline_pages/core/prefetch/get_operation_request.h
index 6793f2eb229753d800549c141c0ef7a37f45ce6d..a074639f6db705af83e641f2d1ce6201c01269c3 100644
--- a/components/offline_pages/core/prefetch/get_operation_request.h
+++ b/components/offline_pages/core/prefetch/get_operation_request.h
@@ -10,6 +10,7 @@
#include "base/callback.h"
#include "base/macros.h"
#include "components/offline_pages/core/prefetch/prefetch_types.h"
+#include "components/version_info/channel.h"
namespace net {
class URLRequestContextGetter;
@@ -27,6 +28,7 @@ class GetOperationRequest {
// It is retrieved from the operation data returned in the
// GeneratePageBundleRequest response.
GetOperationRequest(const std::string& name,
+ version_info::Channel channel,
net::URLRequestContextGetter* request_context_getter,
const PrefetchRequestFinishedCallback& callback);
~GetOperationRequest();

Powered by Google App Engine
This is Rietveld 408576698