Index: chromecast/browser/cast_permission_manager.cc |
diff --git a/chromecast/browser/cast_permission_manager.cc b/chromecast/browser/cast_permission_manager.cc |
index a0d10f2b47ef94a906d84b51a229f374cdd6a924..d8cf3cb7621c3f2b316460df5ea98c308444d9e7 100644 |
--- a/chromecast/browser/cast_permission_manager.cc |
+++ b/chromecast/browser/cast_permission_manager.cc |
@@ -29,6 +29,18 @@ int CastPermissionManager::RequestPermission( |
return kNoPendingOperation; |
} |
+int CastPermissionManager::RequestPermissions( |
+ const std::vector<content::PermissionType>& permissions, |
+ content::RenderFrameHost* render_frame_host, |
+ const GURL& requesting_origin, |
+ bool user_gesture, |
+ const base::Callback<void( |
+ const std::vector<content::PermissionStatus>&)>& callback) { |
+ callback.Run(std::vector<content::PermissionStatus>(permissions.size(), |
+ content::PermissionStatus::PERMISSION_STATUS_GRANTED)); |
+ return kNoPendingOperation; |
+} |
+ |
void CastPermissionManager::CancelPermissionRequest(int request_id) { |
} |