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

Unified Diff: third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h

Issue 2471263003: [Presentation API] (4th)(1-UA blink side) Add WebPresentationConnection and WebPresentationConnecti… (Closed)
Patch Set: resolve code review comments from Mark Created 4 years 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: 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 a8d57d473241c1324439cf4c3aeb9d2ac64ac982..047c6056b47258fdc3a612988057bbe9ea5a7788 100644
--- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
+++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
@@ -15,6 +15,7 @@ namespace blink {
class WebPresentationAvailabilityObserver;
class WebPresentationController;
class WebPresentationConnectionClient;
+class WebPresentationConnectionProxy;
class WebPresentationReceiver;
class WebString;
class WebURL;
@@ -60,21 +61,24 @@ class WebPresentationClient {
// session.
virtual void sendString(const WebURL& presentationUrl,
const WebString& presentationId,
- const WebString& message) = 0;
+ const WebString& message,
+ const WebPresentationConnectionProxy*) = 0;
// Called when the frame requests to send ArrayBuffer/View data to an existing
// session. Embedder copies the |data| and the ownership is not transferred.
virtual void sendArrayBuffer(const WebURL& presentationUrl,
const WebString& presentationId,
const uint8_t* data,
- size_t length) = 0;
+ size_t length,
+ const WebPresentationConnectionProxy*) = 0;
// Called when the frame requests to send Blob data to an existing session.
// Embedder copies the |data| and the ownership is not transferred.
virtual void sendBlobData(const WebURL& presentationUrl,
const WebString& presentationId,
const uint8_t* data,
- size_t length) = 0;
+ size_t length,
+ const WebPresentationConnectionProxy*) = 0;
// Called when the frame requests to close an existing session.
virtual void closeSession(const WebURL& presentationUrl,

Powered by Google App Engine
This is Rietveld 408576698