Chromium Code Reviews| 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_ |