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

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: reject 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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, 476 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments,
477 int /* request_id */, 477 int /* request_id */,
478 std::vector<content::ServiceWorkerClientInfo>) 478 std::vector<content::ServiceWorkerClientInfo>)
479 479
480 // Sent via EmbeddedWorker as a response of OpenWindow. 480 // Sent via EmbeddedWorker as a response of OpenWindow.
481 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowResponse, 481 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowResponse,
482 int /* request_id */, 482 int /* request_id */,
483 content::ServiceWorkerClientInfo /* client */) 483 content::ServiceWorkerClientInfo /* client */)
484 484
485 // Sent via EmbeddedWorker as an error response of OpenWindow. 485 // Sent via EmbeddedWorker as an error response of OpenWindow.
486 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_OpenWindowError, 486 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowError,
487 int /* request_id */ ) 487 int /* request_id */,
488 std::string /* message */ )
488 489
489 // Sent via EmbeddedWorker as a response of FocusClient. 490 // Sent via EmbeddedWorker as a response of FocusClient.
490 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, 491 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse,
491 int /* request_id */, 492 int /* request_id */,
492 content::ServiceWorkerClientInfo /* client */) 493 content::ServiceWorkerClientInfo /* client */)
493 494
494 // Sent via EmbeddedWorker at successful completion of CacheStorage operations. 495 // Sent via EmbeddedWorker at successful completion of CacheStorage operations.
495 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageHasSuccess, 496 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageHasSuccess,
496 int /* request_id */) 497 int /* request_id */)
497 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageOpenSuccess, 498 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageOpenSuccess,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 blink::WebServiceWorkerCacheError) 544 blink::WebServiceWorkerCacheError)
544 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, 545 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError,
545 int /* request_id */, 546 int /* request_id */,
546 blink::WebServiceWorkerCacheError) 547 blink::WebServiceWorkerCacheError)
547 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, 548 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError,
548 int /* request_id */, 549 int /* request_id */,
549 blink::WebServiceWorkerCacheError) 550 blink::WebServiceWorkerCacheError)
550 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, 551 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError,
551 int /* request_id */, 552 int /* request_id */,
552 blink::WebServiceWorkerCacheError) 553 blink::WebServiceWorkerCacheError)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698