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

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

Issue 26631006: add error IPC handling to dispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 993033d6a08dc5f419d043433486f32c7915e244..f662c773fb80e1676a5d24705ce1cacf2ac7a0ac 100644
--- a/content/child/service_worker/service_worker_dispatcher.h
+++ b/content/child/service_worker/service_worker_dispatcher.h
@@ -53,12 +53,11 @@ class ServiceWorkerDispatcher : public webkit_glue::WorkerTaskRunner::Observer {
// webkit_glue::WorkerTaskRunner::Observer implementation.
virtual void OnWorkerRunLoopStopped() OVERRIDE;
- void OnServiceWorkerRegistered(int32 thread_id,
- int32 request_id,
- int32 service_worker_id);
- void OnServiceWorkerUnregistered(int32 thread_id,
- int32 request_id,
- int32 service_worker_id);
+ void OnRegistered(int32 thread_id, int32 request_id, int32 service_worker_id);
+ void OnUnregistered(int32 thread_id,
+ int32 request_id,
+ int32 service_worker_id);
+ void OnRegistrationError(int32 thread_id, int32 request_id);
IDMap<WebKit::WebServiceWorkerProvider::WebServiceWorkerCallbacks,
IDMapOwnPointer> pending_callbacks_;

Powered by Google App Engine
This is Rietveld 408576698