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

Unified Diff: content/renderer/presentation/presentation_dispatcher.h

Issue 2174693004: [Presentation API] Add support to content/ for multiple URLs per PresentationRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing TODO Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/presentation/presentation_dispatcher.h
diff --git a/content/renderer/presentation/presentation_dispatcher.h b/content/renderer/presentation/presentation_dispatcher.h
index 77703bbd4d35a00ad962bfa0ee5c3980fffc317d..3b8ad899e846a2432fc3feba24b4b71bb7062957 100644
--- a/content/renderer/presentation/presentation_dispatcher.h
+++ b/content/renderer/presentation/presentation_dispatcher.h
@@ -24,6 +24,8 @@
namespace blink {
class WebPresentationAvailabilityObserver;
class WebString;
+template <typename T>
+class WebVector;
} // namespace blink
namespace content {
@@ -62,10 +64,10 @@ class CONTENT_EXPORT PresentationDispatcher
// WebPresentationClient implementation.
void setController(blink::WebPresentationController* controller) override;
void startSession(
- const blink::WebString& presentationUrl,
+ const blink::WebVector<blink::WebString>& presentationUrls,
blink::WebPresentationConnectionClientCallbacks* callback) override;
void joinSession(
- const blink::WebString& presentationUrl,
+ const blink::WebVector<blink::WebString>& presentationUrls,
const blink::WebString& presentationId,
blink::WebPresentationConnectionClientCallbacks* callback) override;
void sendString(const blink::WebString& presentationUrl,
@@ -88,7 +90,8 @@ class CONTENT_EXPORT PresentationDispatcher
blink::WebPresentationAvailabilityCallbacks* callbacks) override;
void startListening(blink::WebPresentationAvailabilityObserver*) override;
void stopListening(blink::WebPresentationAvailabilityObserver*) override;
- void setDefaultPresentationUrl(const blink::WebString& url) override;
+ void setDefaultPresentationUrls(
+ const blink::WebVector<blink::WebString>& presentationUrls) override;
// RenderFrameObserver implementation.
void DidCommitProvisionalLoad(

Powered by Google App Engine
This is Rietveld 408576698