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

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

Issue 980383004: Relax same-origin policy for ServiceWorker openWindow() in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 5 years, 9 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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClients, 485 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClients,
486 int /* request_id */, 486 int /* request_id */,
487 std::vector<content::ServiceWorkerClientInfo>) 487 std::vector<content::ServiceWorkerClientInfo>)
488 488
489 // Sent via EmbeddedWorker as a response of OpenWindow. 489 // Sent via EmbeddedWorker as a response of OpenWindow.
490 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowResponse, 490 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowResponse,
491 int /* request_id */, 491 int /* request_id */,
492 content::ServiceWorkerClientInfo /* client */) 492 content::ServiceWorkerClientInfo /* client */)
493 493
494 // Sent via EmbeddedWorker as an error response of OpenWindow. 494 // Sent via EmbeddedWorker as an error response of OpenWindow.
495 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_OpenWindowError, 495 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowError,
496 int /* request_id */ ) 496 int /* request_id */,
497 std::string /* message */ )
497 498
498 // Sent via EmbeddedWorker as a response of FocusClient. 499 // Sent via EmbeddedWorker as a response of FocusClient.
499 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, 500 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse,
500 int /* request_id */, 501 int /* request_id */,
501 content::ServiceWorkerClientInfo /* client */) 502 content::ServiceWorkerClientInfo /* client */)
502 503
503 // Sent via EmbeddedWorker at successful completion of CacheStorage operations. 504 // Sent via EmbeddedWorker at successful completion of CacheStorage operations.
504 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageHasSuccess, 505 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageHasSuccess,
505 int /* request_id */) 506 int /* request_id */)
506 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageOpenSuccess, 507 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageOpenSuccess,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 blink::WebServiceWorkerCacheError) 553 blink::WebServiceWorkerCacheError)
553 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, 554 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError,
554 int /* request_id */, 555 int /* request_id */,
555 blink::WebServiceWorkerCacheError) 556 blink::WebServiceWorkerCacheError)
556 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, 557 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError,
557 int /* request_id */, 558 int /* request_id */,
558 blink::WebServiceWorkerCacheError) 559 blink::WebServiceWorkerCacheError)
559 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, 560 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError,
560 int /* request_id */, 561 int /* request_id */,
561 blink::WebServiceWorkerCacheError) 562 blink::WebServiceWorkerCacheError)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698