From f9dfa5466df635fc95a6ace5118f9ff2de7039f5 Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Tue, 26 Apr 2016 23:07:11 -0400 Subject: [PATCH] Rename PERMISSION_STATUS enum value --- brightray/browser/permission_manager.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/brightray/browser/permission_manager.cc b/brightray/browser/permission_manager.cc index 26e3c622cee0..8936678a4f7e 100644 --- a/brightray/browser/permission_manager.cc +++ b/brightray/browser/permission_manager.cc @@ -27,7 +27,7 @@ int PermissionManager::RequestPermission( content::ChildProcessSecurityPolicy::GetInstance()-> GrantSendMidiSysExMessage(render_frame_host->GetProcess()->GetID()); } - callback.Run(content::PERMISSION_STATUS_GRANTED); + callback.Run(content::PermissionStatus::GRANTED); return kNoPendingOperation; } @@ -45,7 +45,7 @@ int PermissionManager::RequestPermissions( GrantSendMidiSysExMessage(render_frame_host->GetProcess()->GetID()); } - permissionStatuses.push_back(content::PERMISSION_STATUS_GRANTED); + permissionStatuses.push_back(content::PermissionStatus::GRANTED); } callback.Run(permissionStatuses); @@ -65,7 +65,7 @@ content::PermissionStatus PermissionManager::GetPermissionStatus( content::PermissionType permission, const GURL& requesting_origin, const GURL& embedding_origin) { - return content::PERMISSION_STATUS_GRANTED; + return content::PermissionStatus::GRANTED; } void PermissionManager::RegisterPermissionUsage(