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

Unified Diff: chrome/browser/media/router/presentation_service_delegate_impl.h

Issue 1149293008: [MediaRouter] Adds GetPresentationServiceDelegate impl to ChromeContentBrowserClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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: chrome/browser/media/router/presentation_service_delegate_impl.h
diff --git a/chrome/browser/media/router/presentation_service_delegate_impl.h b/chrome/browser/media/router/presentation_service_delegate_impl.h
index 3e822cbde027eced90a71a26b641bc0756a203f2..f4b86225fa3a788a201a5ec0d5a97ea27347fe54 100644
--- a/chrome/browser/media/router/presentation_service_delegate_impl.h
+++ b/chrome/browser/media/router/presentation_service_delegate_impl.h
@@ -46,6 +46,9 @@ class PresentationServiceDelegateImpl
: public content::WebContentsUserData<PresentationServiceDelegateImpl>,
public content::PresentationServiceDelegate {
public:
+ static PresentationServiceDelegateImpl* GetOrCreateForWebContents(
imcheng (use chromium acct) 2015/06/04 18:48:36 Documentation would be good here.
haibinlu 2015/06/04 20:25:45 Done.
+ content::WebContents* web_contents);
+
~PresentationServiceDelegateImpl() override;
// content::PresentationServiceDelegate implementation.

Powered by Google App Engine
This is Rietveld 408576698