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

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

Issue 2490623005: Remove InterfaceRegistry/Provider from service workers (Closed)
Patch Set: rebase/fix comment Created 4 years 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_FETCH_DISPATCHER_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_FETCH_DISPATCHER_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_FETCH_DISPATCHER_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_FETCH_DISPATCHER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "content/browser/service_worker/service_worker_metrics.h" 13 #include "content/browser/service_worker/service_worker_metrics.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 #include "content/common/service_worker/fetch_event_dispatcher.mojom.h" 15 #include "content/common/service_worker/service_worker_event_dispatcher.mojom.h"
16 #include "content/common/service_worker/service_worker_status_code.h" 16 #include "content/common/service_worker/service_worker_status_code.h"
17 #include "content/common/service_worker/service_worker_types.h" 17 #include "content/common/service_worker/service_worker_types.h"
18 #include "content/common/url_loader.mojom.h" 18 #include "content/common/url_loader.mojom.h"
19 #include "content/common/url_loader_factory.mojom.h" 19 #include "content/common/url_loader_factory.mojom.h"
20 #include "content/public/common/resource_type.h" 20 #include "content/public/common/resource_type.h"
21 #include "net/log/net_log_with_source.h" 21 #include "net/log/net_log_with_source.h"
22 22
23 namespace net { 23 namespace net {
24 class URLRequest; 24 class URLRequest;
25 } // namespace net 25 } // namespace net
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 mojom::FetchEventPreloadHandlePtr preload_handle_; 88 mojom::FetchEventPreloadHandlePtr preload_handle_;
89 89
90 base::WeakPtrFactory<ServiceWorkerFetchDispatcher> weak_factory_; 90 base::WeakPtrFactory<ServiceWorkerFetchDispatcher> weak_factory_;
91 91
92 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerFetchDispatcher); 92 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerFetchDispatcher);
93 }; 93 };
94 94
95 } // namespace content 95 } // namespace content
96 96
97 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_FETCH_DISPATCHER_H_ 97 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_FETCH_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698