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

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

Issue 2958333002: [Payments] Implement web payment app manifest (Closed)
Patch Set: Created 3 years, 6 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_context_wrapper.h
diff --git a/content/browser/service_worker/service_worker_context_wrapper.h b/content/browser/service_worker/service_worker_context_wrapper.h
index a41d24539c4d0d08b3f70a0c9328b7b76858048a..8b49be0f9d9b85d405a0fb1f9b3637fe8dba227e 100644
--- a/content/browser/service_worker/service_worker_context_wrapper.h
+++ b/content/browser/service_worker/service_worker_context_wrapper.h
@@ -244,6 +244,11 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
int service_worker_provider_id,
mojom::ServiceWorkerWorkerClientAssociatedPtrInfo client_ptr_info);
+ // The core context is only for use on the IO thread.
+ // Can be null before/during init, during/after shutdown, and after
+ // DeleteAndStartOver fails.
+ ServiceWorkerContextCore* context();
falken 2017/06/30 01:14:36 This represents a big shift in this class's role.
gogerald1 2017/06/30 02:55:22 Done.
+
private:
friend class BackgroundSyncManagerTest;
friend class base::RefCountedThreadSafe<ServiceWorkerContextWrapper>;
@@ -304,11 +309,6 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
const StartServiceWorkerForNavigationHintCallback& callback,
ServiceWorkerStatusCode code);
- // The core context is only for use on the IO thread.
- // Can be null before/during init, during/after shutdown, and after
- // DeleteAndStartOver fails.
- ServiceWorkerContextCore* context();
-
// Observers of |context_core_| which live within content's implementation
// boundary. Shared with |context_core_|.
const scoped_refptr<

Powered by Google App Engine
This is Rietveld 408576698