Chromium Code Reviews| Index: content/common/service_worker/service_worker_messages.h |
| diff --git a/content/common/service_worker/service_worker_messages.h b/content/common/service_worker/service_worker_messages.h |
| index c2fdbd52805f2158a56b464df2b5c3d344a4f668..6b90ed4bbdeb9e8cdc28aaf78fa658d9798fed66 100644 |
| --- a/content/common/service_worker/service_worker_messages.h |
| +++ b/content/common/service_worker/service_worker_messages.h |
| @@ -150,14 +150,15 @@ IPC_MESSAGE_CONTROL3( |
| // Informs the browser of a new ServiceWorkerProvider in the child process, |
| // |provider_id| is unique within its child process. |
| -// |render_frame_id| identifies the frame associated with the provider, it will |
| -// it will be MSG_ROUTING_NONE if the context is a worker instead of a document. |
| +// When the context is a Document, |route_id| is the frame ID of it. When the |
|
dcheng
2015/06/17 02:57:30
What does "context" mean here?
horo
2015/06/17 07:37:05
"context" means "for what the provider was created
|
| +// context is a Shared Worker, |route_id| is the Shared Worker route ID. When |
| +// the context is a Service Worker, |route_id| is MSG_ROUTING_NONE. |
| // |provider_type| identifies whether this provider is for ServiceWorker |
| // controllees (documents and SharedWorkers) or for controllers |
| // (ServiceWorkers). |
| IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_ProviderCreated, |
| int /* provider_id */, |
| - int /* render_frame_id */, |
| + int /* route_id */, |
| content::ServiceWorkerProviderType /* provider_type */) |
| // Informs the browser of a ServiceWorkerProvider being destroyed. |