Index: chromecast/browser/cast_permission_manager.cc |
diff --git a/chromecast/browser/cast_permission_manager.cc b/chromecast/browser/cast_permission_manager.cc |
index eaa6b940a03cf7ee1f6b241f678d5e312e58e691..5146fcfd35f315b97df7aed2d8af5eb03c454503 100644 |
--- a/chromecast/browser/cast_permission_manager.cc |
+++ b/chromecast/browser/cast_permission_manager.cc |
@@ -29,11 +29,21 @@ int CastPermissionManager::RequestPermission( |
return kNoPendingOperation; |
} |
-void CastPermissionManager::CancelPermissionRequest( |
- content::PermissionType permission, |
+int CastPermissionManager::RequestPermissions( |
+ const std::vector<content::PermissionType>& permissions, |
content::RenderFrameHost* render_frame_host, |
- int request_id, |
- const GURL& origin) { |
+ const GURL& requesting_origin, |
+ bool user_gesture, |
+ const base::Callback<void( |
+ const std::vector<content::PermissionStatus>&)>& callback) { |
+ std::vector<content::PermissionStatus> result; |
+ for (size_t i = 0; i < permissions.size(); ++i) |
+ result.push_back(content::PermissionStatus::PERMISSION_STATUS_GRANTED); |
+ callback.Run(result); |
+ return kNoPendingOperation; |
+} |
+ |
+void CastPermissionManager::CancelPermissionRequest(int request_id) { |
} |
void CastPermissionManager::ResetPermission( |