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

Side by Side Diff: content/common/service_worker_messages.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 unified diff | Download patch | Annotate | Revision Log
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 // Message definition file, included multiple times, hence no include guard. 5 // Message definition file, included multiple times, hence no include guard.
6 6
7 #include "base/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 #include "ipc/ipc_param_traits.h" 9 #include "ipc/ipc_param_traits.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 21 matching lines...) Expand all
32 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerRegistered, 32 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerRegistered,
33 int32 /* thread_id */, 33 int32 /* thread_id */,
34 int32 /* request_id */, 34 int32 /* request_id */,
35 int32 /* service_worker_id */) 35 int32 /* service_worker_id */)
36 36
37 // Response to ServiceWorkerMsg_UnregisterServiceWorker 37 // Response to ServiceWorkerMsg_UnregisterServiceWorker
38 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerUnregistered, 38 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerUnregistered,
39 int32 /* thread_id */, 39 int32 /* thread_id */,
40 int32 /* request_id */, 40 int32 /* request_id */,
41 int32 /* service_worker_id */) 41 int32 /* service_worker_id */)
42
43 // Any kind of registration error from RegisterServiceWorker /
44 // UnregisterServiceWorker above. This can expand to include the
45 // actual reason for the error, or even be split if there is a
46 // significant difference between registration and unregistration
47 // errors.
48 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerRegistrationError,
49 int32 /* thread_id */,
50 int32 /* request_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698