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

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

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_FOREIGN_FETCH_REQUEST_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_FOREIGN_FETCH_REQUEST_HANDLER_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_FOREIGN_FETCH_REQUEST_HANDLER_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_FOREIGN_FETCH_REQUEST_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/supports_user_data.h" 10 #include "base/supports_user_data.h"
(...skipping 14 matching lines...) Expand all
25 } 25 }
26 26
27 namespace storage { 27 namespace storage {
28 class BlobStorageContext; 28 class BlobStorageContext;
29 } 29 }
30 30
31 namespace content { 31 namespace content {
32 32
33 class ResourceContext; 33 class ResourceContext;
34 class ResourceRequestBodyImpl; 34 class ResourceRequestBodyImpl;
35 class ServiceWorkerContextCore;
36 class ServiceWorkerContextWrapper; 35 class ServiceWorkerContextWrapper;
37 class ServiceWorkerProviderHost;
38 class ServiceWorkerRegistration; 36 class ServiceWorkerRegistration;
39 struct ResourceResponseInfo;
40 37
41 // Class for routing network requests to ServiceWorkers for foreign fetch 38 // Class for routing network requests to ServiceWorkers for foreign fetch
42 // events. Created one per URLRequest and attached to each request. 39 // events. Created one per URLRequest and attached to each request.
43 // TODO(mek): Does this need something similar to ServiceWorkerRequestHandler's 40 // TODO(mek): Does this need something similar to ServiceWorkerRequestHandler's
44 // GetExtraResponseInfo method? 41 // GetExtraResponseInfo method?
45 class CONTENT_EXPORT ForeignFetchRequestHandler 42 class CONTENT_EXPORT ForeignFetchRequestHandler
46 : public base::SupportsUserData::Data, 43 : public base::SupportsUserData::Data,
47 public ServiceWorkerURLRequestJob::Delegate { 44 public ServiceWorkerURLRequestJob::Delegate {
48 public: 45 public:
49 // Returns true if Foreign Fetch is enabled. Foreign Fetch is considered to be 46 // Returns true if Foreign Fetch is enabled. Foreign Fetch is considered to be
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 bool use_network_ = false; 129 bool use_network_ = false;
133 130
134 base::WeakPtrFactory<ForeignFetchRequestHandler> weak_factory_; 131 base::WeakPtrFactory<ForeignFetchRequestHandler> weak_factory_;
135 132
136 DISALLOW_COPY_AND_ASSIGN(ForeignFetchRequestHandler); 133 DISALLOW_COPY_AND_ASSIGN(ForeignFetchRequestHandler);
137 }; 134 };
138 135
139 } // namespace content 136 } // namespace content
140 137
141 #endif // CONTENT_BROWSER_SERVICE_WORKER_FOREIGN_FETCH_REQUEST_HANDLER_H_ 138 #endif // CONTENT_BROWSER_SERVICE_WORKER_FOREIGN_FETCH_REQUEST_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/text_input_manager.h ('k') | content/browser/service_worker/service_worker_cache_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698