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

Unified Diff: chrome/browser/media/webrtc/media_stream_device_permission_context.h

Issue 2945243002: Permissions: Allow PermissionManager to return more PermissionStatusSources.
Patch Set: Cleanup. Created 3 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/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 a3bf75444f1f869e4b133cdb398d0cc1ca91d5b1..a17fc958a1cf3bde2d835e86eccde6602daacff3 100644
--- a/chrome/browser/media/webrtc/media_stream_device_permission_context.h
+++ b/chrome/browser/media/webrtc/media_stream_device_permission_context.h
@@ -26,7 +26,7 @@ class MediaStreamDevicePermissionContext : public PermissionContextBase {
// 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.
- ContentSetting GetPermissionStatusInternal(
+ PermissionResult GetPermissionStatusInternal(
content::RenderFrameHost* render_frame_host,
const GURL& requesting_origin,
const GURL& embedding_origin) const override;

Powered by Google App Engine
This is Rietveld 408576698