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

Unified Diff: components/offline_pages/core/prefetch/generate_page_bundle_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/generate_page_bundle_request.h
diff --git a/components/offline_pages/core/prefetch/generate_page_bundle_request.h b/components/offline_pages/core/prefetch/generate_page_bundle_request.h
index 4311313516915929b3ce0ff0576d19b31830a2ad..6e13334ca37810960a80ff22f3ec971029f48221 100644
--- a/components/offline_pages/core/prefetch/generate_page_bundle_request.h
+++ b/components/offline_pages/core/prefetch/generate_page_bundle_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;
@@ -26,6 +27,7 @@ class GeneratePageBundleRequest {
const std::string& gcm_registration_id,
int max_bundle_size_bytes,
const std::vector<std::string>& page_urls,
+ version_info::Channel channel,
net::URLRequestContextGetter* request_context_getter,
const PrefetchRequestFinishedCallback& callback);
~GeneratePageBundleRequest();

Powered by Google App Engine
This is Rietveld 408576698