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

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

Issue 688413002: Add terminateServiceWorker method for layout tests - chromium side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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
« no previous file with comments | « content/child/service_worker/web_service_worker_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 int /* request_id */, 236 int /* request_id */,
237 int /* cache_id */, 237 int /* cache_id */,
238 std::vector<content::ServiceWorkerBatchOperation>) 238 std::vector<content::ServiceWorkerBatchOperation>)
239 239
240 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheClosed, 240 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheClosed,
241 int /* cache_id */) 241 int /* cache_id */)
242 242
243 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_BlobDataHandled, 243 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_BlobDataHandled,
244 std::string /* uuid */) 244 std::string /* uuid */)
245 245
246 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_TerminateWorker, int /* handle_id */)
nhiroki 2014/11/21 02:18:51 nit: How about moving this to line 162 to group me
Marijn Kruisselbrink 2014/11/21 18:41:22 Done.
247
246 //--------------------------------------------------------------------------- 248 //---------------------------------------------------------------------------
247 // Messages sent from the browser to the child process. 249 // Messages sent from the browser to the child process.
248 // 250 //
249 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have 251 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have
250 // a thread_id as their first field so that ServiceWorkerMessageFilter can 252 // a thread_id as their first field so that ServiceWorkerMessageFilter can
251 // extract it and dispatch the message to the correct ServiceWorkerDispatcher 253 // extract it and dispatch the message to the correct ServiceWorkerDispatcher
252 // on the correct thread. 254 // on the correct thread.
253 255
254 // Informs the child process that the given provider gets associated or 256 // Informs the child process that the given provider gets associated or
255 // disassociated with the registration. 257 // disassociated with the registration.
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 blink::WebServiceWorkerCacheError) 418 blink::WebServiceWorkerCacheError)
417 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, 419 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError,
418 int /* request_id */, 420 int /* request_id */,
419 blink::WebServiceWorkerCacheError) 421 blink::WebServiceWorkerCacheError)
420 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, 422 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError,
421 int /* request_id */, 423 int /* request_id */,
422 blink::WebServiceWorkerCacheError) 424 blink::WebServiceWorkerCacheError)
423 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, 425 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError,
424 int /* request_id */, 426 int /* request_id */,
425 blink::WebServiceWorkerCacheError) 427 blink::WebServiceWorkerCacheError)
OLDNEW
« no previous file with comments | « content/child/service_worker/web_service_worker_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698