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

Unified Diff: chrome/browser/ui/app_list/start_page_service.cc

Issue 2747943003: Remove media requesting code from StartPageService::StartPageWebContentsDelegate (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/start_page_service.cc
diff --git a/chrome/browser/ui/app_list/start_page_service.cc b/chrome/browser/ui/app_list/start_page_service.cc
index db48a06edca2ed7bef5aa75348f904e99e41a0c7..a6c4bd10c2b6c97ce4bf865882a1ac160e4d08ca 100644
--- a/chrome/browser/ui/app_list/start_page_service.cc
+++ b/chrome/browser/ui/app_list/start_page_service.cc
@@ -159,21 +159,6 @@ class StartPageService::StartPageWebContentsDelegate
explicit StartPageWebContentsDelegate(Profile* profile) : profile_(profile) {}
~StartPageWebContentsDelegate() override {}
- void RequestMediaAccessPermission(
- content::WebContents* web_contents,
- const content::MediaStreamRequest& request,
- const content::MediaResponseCallback& callback) override {
- MediaStreamDevicesController::RequestPermissions(web_contents, request,
- callback);
- }
-
- bool CheckMediaAccessPermission(content::WebContents* web_contents,
- const GURL& security_origin,
- content::MediaStreamType type) override {
- return MediaCaptureDevicesDispatcher::GetInstance()
- ->CheckMediaAccessPermission(web_contents, security_origin, type);
- }
-
void AddNewContents(content::WebContents* source,
content::WebContents* new_contents,
WindowOpenDisposition disposition,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698