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

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

Issue 214383005: Browser side of ServiceWorker requestSyncEvents() function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up the testing code Created 6 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/common/service_worker/service_worker_status_code.h" 8 #include "content/common/service_worker/service_worker_status_code.h"
9 #include "content/common/service_worker/service_worker_types.h" 9 #include "content/common/service_worker/service_worker_types.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_Message, 133 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_Message,
134 base::string16 /* message */, 134 base::string16 /* message */,
135 std::vector<int> /* sent_message_port_ids */, 135 std::vector<int> /* sent_message_port_ids */,
136 std::vector<int> /* new_routing_ids */) 136 std::vector<int> /* new_routing_ids */)
137 137
138 // Sent via EmbeddedWorker to dispatch sync event. 138 // Sent via EmbeddedWorker to dispatch sync event.
139 IPC_MESSAGE_CONTROL0(ServiceWorkerMsg_SyncEvent) 139 IPC_MESSAGE_CONTROL0(ServiceWorkerMsg_SyncEvent)
140 140
141 // Informs the browser that sync event handling has finished. 141 // Informs the browser that sync event handling has finished.
142 IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_SyncEventFinished) 142 IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_SyncEventFinished)
143
144 // Informs the browser that the ServiceWorker would like to receive sync events.
145 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_RequestSyncEvents,
146 bool /* requested */);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698