Chromium Code Reviews| Index: third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h |
| diff --git a/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h b/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h |
| index b0bae336331a1a5cf3e5c9fa44bb850d08ba1419..7bef4b373bcebf04ad6e85b20e0cfa33fbc2c77c 100644 |
| --- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h |
| +++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h |
| @@ -17,6 +17,8 @@ class WebPresentationController; |
| class WebPresentationConnectionClient; |
| class WebString; |
| struct WebPresentationError; |
| +template <typename T> |
| +class WebVector; |
| // If session was created, callback's onSuccess() is invoked with the information about the |
| // presentation session created by the embedder. Otherwise, onError() is invoked with the error code |
| @@ -36,11 +38,11 @@ public: |
| // Called when the frame requests to start a new session. |
| // The ownership of the |callbacks| argument is transferred to the embedder. |
| - virtual void startSession(const WebString& presentationUrl, WebPresentationConnectionClientCallbacks*) = 0; |
| + virtual void startSession(const WebVector<WebString>& presentationUrls, WebPresentationConnectionClientCallbacks*) = 0; |
|
dcheng
2016/08/24 22:14:19
These should be WebURLs as well, no?
mark a. foltz
2016/08/24 22:37:11
We have dozens of files/APIs that need to be chang
dcheng
2016/08/24 23:12:17
Can someone commit to doing this in an immediate f
mark a. foltz
2016/08/29 23:54:54
Added TODO for WebString -> WebURL conversion.
|
| // Called when the frame requests to join an existing session. |
| // The ownership of the |callbacks| argument is transferred to the embedder. |
| - virtual void joinSession(const WebString& presentationUrl, const WebString& presentationId, WebPresentationConnectionClientCallbacks*) = 0; |
| + virtual void joinSession(const WebVector<WebString>& presentationUrls, const WebString& presentationId, WebPresentationConnectionClientCallbacks*) = 0; |
| // Called when the frame requests to send String message to an existing session. |
| virtual void sendString(const WebString& presentationUrl, const WebString& presentationId, const WebString& message) = 0; |
| @@ -75,7 +77,7 @@ public: |
| // Called when a defaultRequest has been set. It sends the url associated |
| // with it for the embedder. |
| - virtual void setDefaultPresentationUrl(const WebString&) = 0; |
| + virtual void setDefaultPresentationUrls(const WebVector<WebString>&) = 0; |
| }; |
| } // namespace blink |