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

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

Issue 984853003: Service Worker: Clients.openWindow() should allow opening x-origin URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 473
474 // Sent via EmbeddedWorker to Ping the worker, expecting a Pong in response. 474 // Sent via EmbeddedWorker to Ping the worker, expecting a Pong in response.
475 IPC_MESSAGE_CONTROL0(ServiceWorkerMsg_Ping) 475 IPC_MESSAGE_CONTROL0(ServiceWorkerMsg_Ping)
476 476
477 // Sent via EmbeddedWorker as a response of GetClientDocuments. 477 // Sent via EmbeddedWorker as a response of GetClientDocuments.
478 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, 478 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments,
479 int /* request_id */, 479 int /* request_id */,
480 std::vector<content::ServiceWorkerClientInfo>) 480 std::vector<content::ServiceWorkerClientInfo>)
481 481
482 // Sent via EmbeddedWorker as a response of OpenWindow. 482 // Sent via EmbeddedWorker as a response of OpenWindow.
483 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowResponse, 483 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_OpenWindowResponse,
484 int /* request_id */, 484 int /* request_id */,
485 GURL /* url */,
485 content::ServiceWorkerClientInfo /* client */) 486 content::ServiceWorkerClientInfo /* client */)
486 487
487 // Sent via EmbeddedWorker as an error response of OpenWindow. 488 // Sent via EmbeddedWorker as an error response of OpenWindow.
488 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_OpenWindowError, 489 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_OpenWindowError,
489 int /* request_id */ ) 490 int /* request_id */ )
490 491
491 // Sent via EmbeddedWorker as a response of FocusClient. 492 // Sent via EmbeddedWorker as a response of FocusClient.
492 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, 493 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse,
493 int /* request_id */, 494 int /* request_id */,
494 content::ServiceWorkerClientInfo /* client */) 495 content::ServiceWorkerClientInfo /* client */)
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 blink::WebServiceWorkerCacheError) 546 blink::WebServiceWorkerCacheError)
546 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, 547 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError,
547 int /* request_id */, 548 int /* request_id */,
548 blink::WebServiceWorkerCacheError) 549 blink::WebServiceWorkerCacheError)
549 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, 550 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError,
550 int /* request_id */, 551 int /* request_id */,
551 blink::WebServiceWorkerCacheError) 552 blink::WebServiceWorkerCacheError)
552 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, 553 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError,
553 int /* request_id */, 554 int /* request_id */,
554 blink::WebServiceWorkerCacheError) 555 blink::WebServiceWorkerCacheError)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698