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

Side by Side Diff: content/common/service_worker_messages.h

Issue 54573002: Initial child-process side plumbing for starting an embedded ServiceWorker context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated Created 7 years, 1 month 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 18 matching lines...) Expand all
29 // Response to ServiceWorkerMsg_RegisterServiceWorker 29 // Response to ServiceWorkerMsg_RegisterServiceWorker
30 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerRegistered, 30 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerRegistered,
31 int32 /* thread_id */, 31 int32 /* thread_id */,
32 int32 /* request_id */, 32 int32 /* request_id */,
33 int64 /* service_worker_id */) 33 int64 /* service_worker_id */)
34 34
35 // Response to ServiceWorkerMsg_UnregisterServiceWorker 35 // Response to ServiceWorkerMsg_UnregisterServiceWorker
36 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerUnregistered, 36 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerUnregistered,
37 int32 /* thread_id */, 37 int32 /* thread_id */,
38 int32 /* request_id */) 38 int32 /* request_id */)
39
40 // Browser -> Renderer message to create a new ServiceWorker context.
41 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CreateWorker,
42 GURL /* script_url */,
43 int /* route_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698