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

Unified Diff: content/public/browser/presentation_session.h

Issue 1314413005: [Presentation API] 1-UA presentation support + presenter APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/public/browser/presentation_session.h
diff --git a/content/public/browser/presentation_session.h b/content/public/browser/presentation_session.h
index 48921484138f3f7166c326334657997d8a344df7..773f7f5dab8ad5670f1ddee6cd9a45bb045205c1 100644
--- a/content/public/browser/presentation_session.h
+++ b/content/public/browser/presentation_session.h
@@ -23,6 +23,8 @@ struct CONTENT_EXPORT PresentationSessionInfo {
const std::string& presentation_id);
~PresentationSessionInfo();
+ bool IsController() const { return !presentation_url.empty(); }
+
const std::string presentation_url;
const std::string presentation_id;
};

Powered by Google App Engine
This is Rietveld 408576698