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

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

Issue 1212423003: Presentation API: Blink changes to allow getAvailability() to be rejected. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@presentation-availability-cleanups
Patch Set: Created 5 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: public/platform/modules/presentation/WebPresentationClient.h
diff --git a/public/platform/modules/presentation/WebPresentationClient.h b/public/platform/modules/presentation/WebPresentationClient.h
index 1ac6ba32778442a569aeaeb3434889eda780a311..7b55bb0da9c9cd57bf52391da97c8249f868a470 100644
--- a/public/platform/modules/presentation/WebPresentationClient.h
+++ b/public/platform/modules/presentation/WebPresentationClient.h
@@ -22,7 +22,7 @@ struct WebPresentationError;
using WebPresentationSessionClientCallbacks = WebCallbacks<WebPresentationSessionClient, WebPresentationError>;
// Callback for .getAvailability().
-using WebPresentationAvailabilityCallbacks = WebCallbacks<bool, void>;
+using WebPresentationAvailabilityCallbacks = WebCallbacks<bool, WebPresentationError>;
// The implementation the embedder has to provide for the Presentation API to work.
class WebPresentationClient {

Powered by Google App Engine
This is Rietveld 408576698