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

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

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.h
diff --git a/content/shell/renderer/test_runner/mock_presentation_client.h b/content/shell/renderer/test_runner/mock_presentation_client.h
index 40e1bd0c25b7e51944ca89ca37c8f26696812487..4a368f1e80ea48b926950fc9800395999f190d5a 100644
--- a/content/shell/renderer/test_runner/mock_presentation_client.h
+++ b/content/shell/renderer/test_runner/mock_presentation_client.h
@@ -30,6 +30,14 @@ class MockPresentationClient : public blink::WebPresentationClient {
// blink::WebPresentationClient implementation.
virtual void setController(blink::WebPresentationController* controller);
virtual void updateAvailableChangeWatched(bool watched);
+ virtual void startSession(
+ const blink::WebString& presentationUrl,
+ const blink::WebString& presentationId,
+ blink::WebPresentationSessionClientCallbacks* callback);
+ virtual void joinSession(
+ const blink::WebString& presentationUrl,
+ const blink::WebString& presentationId,
+ blink::WebPresentationSessionClientCallbacks* callback);
private:
// The actual WebPresentationController implementation that's being tested.

Powered by Google App Engine
This is Rietveld 408576698