Index: chrome/browser/media/webrtc/media_stream_device_permission_context.h |
diff --git a/chrome/browser/media/webrtc/media_stream_device_permission_context.h b/chrome/browser/media/webrtc/media_stream_device_permission_context.h |
index beee90d9813b0fc822703f8c12966788be3e2196..a3bf75444f1f869e4b133cdb398d0cc1ca91d5b1 100644 |
--- a/chrome/browser/media/webrtc/media_stream_device_permission_context.h |
+++ b/chrome/browser/media/webrtc/media_stream_device_permission_context.h |
@@ -17,11 +17,12 @@ class MediaStreamDevicePermissionContext : public PermissionContextBase { |
~MediaStreamDevicePermissionContext() override; |
// PermissionContextBase: |
- void RequestPermission(content::WebContents* web_contents, |
- const PermissionRequestID& id, |
- const GURL& requesting_frame, |
- bool user_gesture, |
- const BrowserPermissionCallback& callback) override; |
+ void DecidePermission(content::WebContents* web_contents, |
+ const PermissionRequestID& id, |
+ const GURL& requesting_origin, |
+ const GURL& embedding_origin, |
+ bool user_gesture, |
+ const BrowserPermissionCallback& callback) override; |
// TODO(xhwang): GURL.GetOrigin() shouldn't be used as the origin. Need to |
// refactor to use url::Origin. crbug.com/527149 is filed for this. |