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

Side by Side Diff: content/browser/service_worker/service_worker_navigation_preload_fetcher.h

Issue 2410333006: Implement ServiceWorkerFetchDispatcher::MaybeStartNavigationPreload(). (Closed)
Patch Set: incorporated falken's comment 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_NAVIGATION_PRELOAD_FETCHER _H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_NAVIGATION_PRELOAD_FETCHER _H_
7
8 #include "content/common/service_worker/fetch_event_dispatcher.mojom.h"
9
10 namespace net {
11 class URLRequest;
12 } // namespace net
13
14 namespace content {
15
16 // Class for fetching navigation requests for ServiceWorkers.
17 // TODO(horo): Revise link when this lands in the spec:
18 // https://github.com/w3c/ServiceWorker/issues/920
19 class ServiceWorkerNavigationPreloadFetcher {
20 public:
21 static mojom::FetchEventPreloadHandlePtr Start(
22 net::URLRequest* original_request);
23 };
24
25 } // namespace content
26
27 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_NAVIGATION_PRELOAD_FETC HER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698