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

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

Issue 2843043002: network service: Create URLLoader for service worker navigation case
Patch Set: bind in ControlleeRequestHandler to empty 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: content/browser/service_worker/service_worker_url_loader_factory.h
diff --git a/content/browser/service_worker/service_worker_url_loader_factory.h b/content/browser/service_worker/service_worker_url_loader_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..dead475d7e30fd29ef8909cd575b6520c1e9c7e9
--- /dev/null
+++ b/content/browser/service_worker/service_worker_url_loader_factory.h
@@ -0,0 +1,24 @@
+// Copyright 2017 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_URL_LOADER_FACTORY_H_
+#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_LOADER_FACTORY_H_
+
+#include "content/common/url_loader_factory.mojom.h"
+
+namespace content {
+
+class ServiceWorkerRequestHandler;
+
+// Abstract base class for URLLoaderFactorys created for different types of
+// ServiceWorker requests.
+class ServiceWorkerURLLoaderFactory : public mojom::URLLoaderFactory {
+ public:
+ private:
+ std::unique_ptr<ServiceWorkerRequestHandler> handler_;
+};
+
+} // namespace
+
+#endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_LOADER_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698