OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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_URL_LOADER_FACTORY_H_ | |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_LOADER_FACTORY_H_ | |
7 | |
8 #include "content/browser/service_worker/service_worker_request_handler.h" | |
9 #include "content/common/url_loader_factory.mojom.h" | |
10 | |
11 namespace content { | |
12 | |
13 // Abstract base class for URLLoaderFactorys created for different types of | |
14 // ServiceWorker requests. | |
15 class ServiceWorkerURLLoaderFactory : public mojom::URLLoaderFactory { | |
kinuko
2017/05/08 14:55:48
Will we need this base class?
scottmg
2017/05/08 20:12:31
Removed. (Not needed now, I was thinking about som
| |
16 public: | |
17 explicit ServiceWorkerURLLoaderFactory( | |
18 std::unique_ptr<ServiceWorkerRequestHandler> handler); | |
19 ~ServiceWorkerURLLoaderFactory() override; | |
20 | |
21 private: | |
22 std::unique_ptr<ServiceWorkerRequestHandler> handler_; | |
23 }; | |
24 | |
25 } // namespace | |
26 | |
27 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_LOADER_FACTORY_H_ | |
OLD | NEW |