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

Unified Diff: chrome/browser/extensions/extension_host.h

Issue 11198044: Make tab capture media stream requests verify that the request came from extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 8 years, 2 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/extensions/extension_host.h
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h
index ede9387037e4ac727eeef25c7e803097172ef934..9c0e247edbde463b6c5c8d13070f2ed54617f4c1 100644
--- a/chrome/browser/extensions/extension_host.h
+++ b/chrome/browser/extensions/extension_host.h
@@ -171,6 +171,10 @@ class ExtensionHost : public content::WebContentsDelegate,
virtual void WebIntentDispatch(
content::WebContents* web_contents,
content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE;
+ virtual void RequestMediaAccessPermission(
+ content::WebContents* web_contents,
+ const content::MediaStreamRequest* request,
no longer working on chromium 2012/10/18 08:36:17 use a reference instead of a pointer.
justinlin 2012/10/18 09:33:29 This is an override. Probably better to fix this i
+ const content::MediaResponseCallback& callback) OVERRIDE;
// content::NotificationObserver
virtual void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698