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

Side by Side Diff: content/public/browser/browser_plugin_guest_delegate.cc

Issue 235733002: <webview>: Move media request to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_geolocation_to_chrome
Patch Set: Updated UMA Created 6 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/browser/browser_plugin_guest_delegate.h" 5 #include "content/public/browser/browser_plugin_guest_delegate.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 22 matching lines...) Expand all
33 base::Owned(new PermissionResponseCallback(callback)), 33 base::Owned(new PermissionResponseCallback(callback)),
34 allowed_by_default, 34 allowed_by_default,
35 std::string())); 35 std::string()));
36 return 0; 36 return 0;
37 } 37 }
38 38
39 GURL BrowserPluginGuestDelegate::ResolveURL(const std::string& src) { 39 GURL BrowserPluginGuestDelegate::ResolveURL(const std::string& src) {
40 return GURL(src); 40 return GURL(src);
41 } 41 }
42 42
43 void BrowserPluginGuestDelegate::RequestMediaAccessPermission(
44 const MediaStreamRequest& request,
45 const MediaResponseCallback& callback) {
46 callback.Run(MediaStreamDevices(),
47 MEDIA_DEVICE_INVALID_STATE,
48 scoped_ptr<MediaStreamUI>());
49 }
50
43 } // namespace content 51 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698