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

Unified Diff: content/shell/renderer/test_runner/mock_presentation_client.cc

Issue 935083002: [PresentationAPI] Implementing start/joinSession from WebPresentationClient to PresentationService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: is_null() checks for StructPtr's instead of get() Created 5 years, 10 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/shell/renderer/test_runner/mock_presentation_client.cc
diff --git a/content/shell/renderer/test_runner/mock_presentation_client.cc b/content/shell/renderer/test_runner/mock_presentation_client.cc
index 02012bca821851a92d8e266e1e6c1aedfc266c70..7d1c2561ccf8ae4ad655bf190e93cde3ba832631 100644
--- a/content/shell/renderer/test_runner/mock_presentation_client.cc
+++ b/content/shell/renderer/test_runner/mock_presentation_client.cc
@@ -50,6 +50,20 @@ void MockPresentationClient::setController(
controller_ = controller;
}
+void MockPresentationClient::startSession(
+ const blink::WebString& presentationUrl,
+ const blink::WebString& presentationId,
+ blink::WebPresentationSessionClientCallbacks* callback) {
+ NOTIMPLEMENTED();
mlamouri (slow - plz ping) 2015/02/23 14:07:39 delete callback;
whywhat 2015/02/25 14:12:42 Done.
+}
+
+void MockPresentationClient::joinSession(
+ const blink::WebString& presentationUrl,
+ const blink::WebString& presentationId,
+ blink::WebPresentationSessionClientCallbacks* callback) {
+ NOTIMPLEMENTED();
mlamouri (slow - plz ping) 2015/02/23 14:07:39 delete callback;
whywhat 2015/02/25 14:12:42 Done.
+}
+
void MockPresentationClient::updateAvailableChangeWatched(bool watched) {
if (!watched)
return;

Powered by Google App Engine
This is Rietveld 408576698