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

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

Issue 1656933003: Add origins argument to registerForeignFetchScopes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting, 301 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting,
302 int /* request_id */) 302 int /* request_id */)
303 303
304 // Asks the browser to have this worker take control of pages that match 304 // Asks the browser to have this worker take control of pages that match
305 // its scope. 305 // its scope.
306 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients, 306 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients,
307 int /* request_id */) 307 int /* request_id */)
308 308
309 // Informs the browser of new foreign fetch subscopes this worker wants to 309 // Informs the browser of new foreign fetch subscopes this worker wants to
310 // handle. Should only be sent while an install event is being handled. 310 // handle. Should only be sent while an install event is being handled.
311 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_RegisterForeignFetchScopes, 311 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_RegisterForeignFetchScopes,
312 std::vector<GURL> /* sub_scopes */) 312 std::vector<GURL> /* sub_scopes */,
313 std::vector<GURL> /* origins */)
313 314
314 //--------------------------------------------------------------------------- 315 //---------------------------------------------------------------------------
315 // Messages sent from the browser to the child process. 316 // Messages sent from the browser to the child process.
316 // 317 //
317 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have 318 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have
318 // a thread_id as their first field so that ServiceWorkerMessageFilter can 319 // a thread_id as their first field so that ServiceWorkerMessageFilter can
319 // extract it and dispatch the message to the correct ServiceWorkerDispatcher 320 // extract it and dispatch the message to the correct ServiceWorkerDispatcher
320 // on the correct thread. 321 // on the correct thread.
321 322
322 // Informs the child process that the given provider gets associated or 323 // Informs the child process that the given provider gets associated or
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 507
507 // Sent via EmbeddedWorker as a response of NavigateClient. 508 // Sent via EmbeddedWorker as a response of NavigateClient.
508 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, 509 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
509 int /* request_id */, 510 int /* request_id */,
510 content::ServiceWorkerClientInfo /* client */) 511 content::ServiceWorkerClientInfo /* client */)
511 512
512 // Sent via EmbeddedWorker as an error response of NavigateClient. 513 // Sent via EmbeddedWorker as an error response of NavigateClient.
513 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, 514 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
514 int /* request_id */, 515 int /* request_id */,
515 GURL /* url */) 516 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698