Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 283 | 283 |
| 284 // Asks the browser to force this worker to become activated. | 284 // Asks the browser to force this worker to become activated. |
| 285 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting, | 285 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting, |
| 286 int /* request_id */) | 286 int /* request_id */) |
| 287 | 287 |
| 288 // Asks the browser to have this worker take control of pages that match | 288 // Asks the browser to have this worker take control of pages that match |
| 289 // its scope. | 289 // its scope. |
| 290 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients, | 290 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients, |
| 291 int /* request_id */) | 291 int /* request_id */) |
| 292 | 292 |
| 293 // Informs the browser of new foreign fetch subscopes this worker wants to | |
| 294 // handle. Should only be send while an install event is being handled. | |
|
falken
2015/10/16 11:58:43
nit: sent
Marijn Kruisselbrink
2015/10/16 17:23:24
Done
| |
| 295 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_RegisterForeignFetchScopes, | |
| 296 std::vector<GURL> /* sub_scopes */) | |
| 297 | |
| 293 //--------------------------------------------------------------------------- | 298 //--------------------------------------------------------------------------- |
| 294 // Messages sent from the browser to the child process. | 299 // Messages sent from the browser to the child process. |
| 295 // | 300 // |
| 296 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have | 301 // NOTE: All ServiceWorkerMsg messages not sent via EmbeddedWorker must have |
| 297 // a thread_id as their first field so that ServiceWorkerMessageFilter can | 302 // a thread_id as their first field so that ServiceWorkerMessageFilter can |
| 298 // extract it and dispatch the message to the correct ServiceWorkerDispatcher | 303 // extract it and dispatch the message to the correct ServiceWorkerDispatcher |
| 299 // on the correct thread. | 304 // on the correct thread. |
| 300 | 305 |
| 301 // Informs the child process of the registration associated with the service | 306 // Informs the child process of the registration associated with the service |
| 302 // worker. | 307 // worker. |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 493 | 498 |
| 494 // Sent via EmbeddedWorker as a response of NavigateClient. | 499 // Sent via EmbeddedWorker as a response of NavigateClient. |
| 495 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, | 500 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse, |
| 496 int /* request_id */, | 501 int /* request_id */, |
| 497 content::ServiceWorkerClientInfo /* client */) | 502 content::ServiceWorkerClientInfo /* client */) |
| 498 | 503 |
| 499 // Sent via EmbeddedWorker as an error response of NavigateClient. | 504 // Sent via EmbeddedWorker as an error response of NavigateClient. |
| 500 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, | 505 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError, |
| 501 int /* request_id */, | 506 int /* request_id */, |
| 502 GURL /* url */) | 507 GURL /* url */) |
| OLD | NEW |