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

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

Issue 2843043002: network service: Create URLLoader for service worker navigation case
Patch Set: . 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CONTEXT_WRAPPER_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 int render_process_id, 226 int render_process_id,
227 int service_worker_provider_id, 227 int service_worker_provider_id,
228 mojom::ServiceWorkerWorkerClientAssociatedPtrInfo client_ptr_info); 228 mojom::ServiceWorkerWorkerClientAssociatedPtrInfo client_ptr_info);
229 229
230 private: 230 private:
231 friend class BackgroundSyncManagerTest; 231 friend class BackgroundSyncManagerTest;
232 friend class base::RefCountedThreadSafe<ServiceWorkerContextWrapper>; 232 friend class base::RefCountedThreadSafe<ServiceWorkerContextWrapper>;
233 friend class EmbeddedWorkerTestHelper; 233 friend class EmbeddedWorkerTestHelper;
234 friend class EmbeddedWorkerBrowserTest; 234 friend class EmbeddedWorkerBrowserTest;
235 friend class ForeignFetchRequestHandler; 235 friend class ForeignFetchRequestHandler;
236 friend class NavigationURLLoaderNetworkService;
236 friend class ServiceWorkerDispatcherHost; 237 friend class ServiceWorkerDispatcherHost;
237 friend class ServiceWorkerInternalsUI; 238 friend class ServiceWorkerInternalsUI;
238 friend class ServiceWorkerNavigationHandleCore; 239 friend class ServiceWorkerNavigationHandleCore;
239 friend class ServiceWorkerProcessManager; 240 friend class ServiceWorkerProcessManager;
240 friend class ServiceWorkerRequestHandler; 241 friend class ServiceWorkerRequestHandler;
242 friend class ServiceWorkerURLLoaderFactoryCreation;
241 friend class ServiceWorkerVersionBrowserTest; 243 friend class ServiceWorkerVersionBrowserTest;
242 friend class MockServiceWorkerContextWrapper; 244 friend class MockServiceWorkerContextWrapper;
243 245
244 ~ServiceWorkerContextWrapper() override; 246 ~ServiceWorkerContextWrapper() override;
245 247
246 void InitInternal( 248 void InitInternal(
247 const base::FilePath& user_data_directory, 249 const base::FilePath& user_data_directory,
248 std::unique_ptr<ServiceWorkerDatabaseTaskManager> database_task_manager, 250 std::unique_ptr<ServiceWorkerDatabaseTaskManager> database_task_manager,
249 const scoped_refptr<base::SingleThreadTaskRunner>& disk_cache_thread, 251 const scoped_refptr<base::SingleThreadTaskRunner>& disk_cache_thread,
250 storage::QuotaManagerProxy* quota_manager_proxy, 252 storage::QuotaManagerProxy* quota_manager_proxy,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 294
293 // The ResourceContext associated with this context. 295 // The ResourceContext associated with this context.
294 ResourceContext* resource_context_; 296 ResourceContext* resource_context_;
295 297
296 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextWrapper); 298 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextWrapper);
297 }; 299 };
298 300
299 } // namespace content 301 } // namespace content
300 302
301 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_ 303 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_WRAPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698