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

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

Issue 1181973004: ServiceWorker: Route unregister() through WebServiceWorkerRegistration for refactoring (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove ifdef Created 5 years, 6 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 <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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 int /* thread_id */, 116 int /* thread_id */,
117 int /* request_id */, 117 int /* request_id */,
118 int /* provider_id */, 118 int /* provider_id */,
119 GURL /* scope */, 119 GURL /* scope */,
120 GURL /* script_url */) 120 GURL /* script_url */)
121 121
122 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_UpdateServiceWorker, 122 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_UpdateServiceWorker,
123 int /* provider_id */, 123 int /* provider_id */,
124 int64 /* registration_id */) 124 int64 /* registration_id */)
125 125
126 // TODO(nhiroki): Remove this after http://crbug.com/500404 is fixed.
127 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_DeprecatedUnregisterServiceWorker,
128 int /* thread_id */,
129 int /* request_id */,
130 int /* provider_id */,
131 GURL /* scope (url pattern) */)
132
126 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UnregisterServiceWorker, 133 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UnregisterServiceWorker,
127 int /* thread_id */, 134 int /* thread_id */,
128 int /* request_id */, 135 int /* request_id */,
129 int /* provider_id */, 136 int /* provider_id */,
130 GURL /* scope (url pattern) */) 137 int64 /* registration_id */)
131 138
132 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_GetRegistration, 139 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_GetRegistration,
133 int /* thread_id */, 140 int /* thread_id */,
134 int /* request_id */, 141 int /* request_id */,
135 int /* provider_id */, 142 int /* provider_id */,
136 GURL /* document_url */) 143 GURL /* document_url */)
137 144
138 IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetRegistrations, 145 IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetRegistrations,
139 int /* thread_id */, 146 int /* thread_id */,
140 int /* request_id */, 147 int /* request_id */,
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, 476 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse,
470 int /* request_id */, 477 int /* request_id */,
471 content::ServiceWorkerClientInfo /* client */) 478 content::ServiceWorkerClientInfo /* client */)
472 479
473 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. 480 // Sent via EmbeddedWorker to transfer a stashed message port to the worker.
474 IPC_MESSAGE_CONTROL3( 481 IPC_MESSAGE_CONTROL3(
475 ServiceWorkerMsg_SendStashedMessagePorts, 482 ServiceWorkerMsg_SendStashedMessagePorts,
476 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, 483 std::vector<content::TransferredMessagePort> /* stashed_message_ports */,
477 std::vector<int> /* new_routing_ids */, 484 std::vector<int> /* new_routing_ids */,
478 std::vector<base::string16> /* port_names */) 485 std::vector<base::string16> /* port_names */)
OLDNEW
« no previous file with comments | « content/child/service_worker/web_service_worker_registration_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698