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

Unified Diff: content/child/service_worker/service_worker_dispatcher.h

Issue 486083002: ServiceWorker: Introduce ServiceWorkerRegistrationObjectInfo for cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/child/service_worker/service_worker_dispatcher.h
diff --git a/content/child/service_worker/service_worker_dispatcher.h b/content/child/service_worker/service_worker_dispatcher.h
index 877b8e14b1c3b12c5402d1577bcd2aef99203172..9997afd0cd1005001ec0e5d9973dcda48bb31206 100644
--- a/content/child/service_worker/service_worker_dispatcher.h
+++ b/content/child/service_worker/service_worker_dispatcher.h
@@ -34,6 +34,7 @@ class ThreadSafeSender;
class WebServiceWorkerImpl;
class WebServiceWorkerRegistrationImpl;
struct ServiceWorkerObjectInfo;
+struct ServiceWorkerRegistrationObjectInfo;
struct ServiceWorkerVersionAttributes;
// This class manages communication with the browser process about
@@ -98,8 +99,7 @@ class ServiceWorkerDispatcher : public WorkerTaskRunner::Observer {
// |adopt_handle| is true, a ServiceWorkerRegistrationHandleReference will be
// adopted for the specified registration.
WebServiceWorkerRegistrationImpl* GetServiceWorkerRegistration(
- int registration_handle_id,
- const ServiceWorkerObjectInfo& info,
+ const ServiceWorkerRegistrationObjectInfo& info,
bool adopt_handle);
// |thread_safe_sender| needs to be passed in because if the call leads to
@@ -129,8 +129,7 @@ class ServiceWorkerDispatcher : public WorkerTaskRunner::Observer {
void OnRegistered(int thread_id,
int request_id,
- int registration_handle_id,
- const ServiceWorkerObjectInfo& info);
+ const ServiceWorkerRegistrationObjectInfo& info);
void OnUnregistered(int thread_id,
int request_id);
void OnRegistrationError(int thread_id,

Powered by Google App Engine
This is Rietveld 408576698