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

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

Issue 663503002: [ServiceWorkerCacheStorage] Delete unused get/create functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@open
Patch Set: Rebase Created 6 years, 2 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GetClientDocuments, 182 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GetClientDocuments,
183 int /* request_id */) 183 int /* request_id */)
184 184
185 // Sends a 'message' event to a client document (renderer->browser). 185 // Sends a 'message' event to a client document (renderer->browser).
186 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_PostMessageToDocument, 186 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_PostMessageToDocument,
187 int /* client_id */, 187 int /* client_id */,
188 base::string16 /* message */, 188 base::string16 /* message */,
189 std::vector<int> /* sent_message_port_ids */) 189 std::vector<int> /* sent_message_port_ids */)
190 190
191 // CacheStorage operations in the browser. 191 // CacheStorage operations in the browser.
192 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageGet,
193 int /* request_id */,
194 base::string16 /* fetch_store_name */)
195
196 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageHas, 192 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageHas,
197 int /* request_id */, 193 int /* request_id */,
198 base::string16 /* fetch_store_name */) 194 base::string16 /* fetch_store_name */)
199 195
200 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageCreate,
201 int /* request_id */,
202 base::string16 /* fetch_store_name */)
203
204 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageOpen, 196 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageOpen,
205 int /* request_id */, 197 int /* request_id */,
206 base::string16 /* fetch_store_name */) 198 base::string16 /* fetch_store_name */)
207 199
208 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageDelete, 200 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageDelete,
209 int /* request_id */, 201 int /* request_id */,
210 base::string16 /* fetch_store_name */) 202 base::string16 /* fetch_store_name */)
211 203
212 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheStorageKeys, 204 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_CacheStorageKeys,
213 int /* request_id */) 205 int /* request_id */)
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 base::string16 /* message */, 350 base::string16 /* message */,
359 std::vector<int> /* sent_message_port_ids */, 351 std::vector<int> /* sent_message_port_ids */,
360 std::vector<int> /* new_routing_ids */) 352 std::vector<int> /* new_routing_ids */)
361 353
362 // Sent via EmbeddedWorker as a response of GetClientDocuments. 354 // Sent via EmbeddedWorker as a response of GetClientDocuments.
363 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, 355 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments,
364 int /* request_id */, 356 int /* request_id */,
365 std::vector<int> /* client_ids */) 357 std::vector<int> /* client_ids */)
366 358
367 // Sent via EmbeddedWorker at successful completion of CacheStorage operations. 359 // Sent via EmbeddedWorker at successful completion of CacheStorage operations.
368 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageGetSuccess,
369 int /* request_id */,
370 int /* fetch_store_id */)
371 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageHasSuccess, 360 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageHasSuccess,
372 int /* request_id */) 361 int /* request_id */)
373 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateSuccess,
374 int /* request_id */,
375 int /* fetch_store_id */)
376 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageOpenSuccess, 362 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageOpenSuccess,
377 int /* request_id */, 363 int /* request_id */,
378 int /* fetch_store_id */) 364 int /* fetch_store_id */)
379 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageDeleteSuccess, 365 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageDeleteSuccess,
380 int /* request_id */) 366 int /* request_id */)
381 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysSuccess, 367 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysSuccess,
382 int /* request_id */, 368 int /* request_id */,
383 std::vector<base::string16> /* keys */) 369 std::vector<base::string16> /* keys */)
384 370
385 // Sent via EmbeddedWorker at erroneous completion of CacheStorage operations. 371 // Sent via EmbeddedWorker at erroneous completion of CacheStorage operations.
386 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageGetError,
387 int /* request_id */,
388 blink::WebServiceWorkerCacheError /* reason */)
389 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageHasError, 372 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageHasError,
390 int /* request_id */, 373 int /* request_id */,
391 blink::WebServiceWorkerCacheError /* reason */) 374 blink::WebServiceWorkerCacheError /* reason */)
392 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageCreateError,
393 int /* request_id */,
394 blink::WebServiceWorkerCacheError /* reason */)
395 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageOpenError, 375 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageOpenError,
396 int /* request_id */, 376 int /* request_id */,
397 blink::WebServiceWorkerCacheError /* reason */) 377 blink::WebServiceWorkerCacheError /* reason */)
398 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError, 378 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageDeleteError,
399 int /* request_id */, 379 int /* request_id */,
400 blink::WebServiceWorkerCacheError /* reason */) 380 blink::WebServiceWorkerCacheError /* reason */)
401 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError, 381 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageKeysError,
402 int /* request_id */, 382 int /* request_id */,
403 blink::WebServiceWorkerCacheError /* reason */) 383 blink::WebServiceWorkerCacheError /* reason */)
404 384
(...skipping 17 matching lines...) Expand all
422 blink::WebServiceWorkerCacheError) 402 blink::WebServiceWorkerCacheError)
423 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, 403 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError,
424 int /* request_id */, 404 int /* request_id */,
425 blink::WebServiceWorkerCacheError) 405 blink::WebServiceWorkerCacheError)
426 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, 406 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError,
427 int /* request_id */, 407 int /* request_id */,
428 blink::WebServiceWorkerCacheError) 408 blink::WebServiceWorkerCacheError)
429 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, 409 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError,
430 int /* request_id */, 410 int /* request_id */,
431 blink::WebServiceWorkerCacheError) 411 blink::WebServiceWorkerCacheError)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698