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

Unified Diff: content/browser/service_worker/service_worker_navigation_preload_fetcher.h

Issue 2410333006: Implement ServiceWorkerFetchDispatcher::MaybeStartNavigationPreload(). (Closed)
Patch Set: diff from with https://codereview.chromium.org/2410333006/ Created 4 years, 2 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: content/browser/service_worker/service_worker_navigation_preload_fetcher.h
diff --git a/content/browser/service_worker/service_worker_navigation_preload_fetcher.h b/content/browser/service_worker/service_worker_navigation_preload_fetcher.h
new file mode 100644
index 0000000000000000000000000000000000000000..5085e6759d2384a46358462cade59cc42fd58a57
--- /dev/null
+++ b/content/browser/service_worker/service_worker_navigation_preload_fetcher.h
@@ -0,0 +1,24 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_NAVIGATION_PRELOAD_FETCHER_H_
+#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_NAVIGATION_PRELOAD_FETCHER_H_
+
+#include "content/common/service_worker/fetch_event_dispatcher.mojom.h"
+
+namespace net {
+class URLRequest;
+} // namespace net
+
+namespace content {
+
+class ServiceWorkerNavigationPreloadFetcher {
falken 2016/10/14 07:53:12 Add a lightweight comment about what this class do
horo 2016/10/14 16:09:05 Done.
+ public:
+ static mojom::FetchEventPreloadHandlePtr Start(
+ net::URLRequest* original_request);
+};
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_NAVIGATION_PRELOAD_FETCHER_H_

Powered by Google App Engine
This is Rietveld 408576698