Rename PERMISSION_STATUS enum value
This commit is contained in:
parent
270fc41024
commit
f9dfa5466d
1 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ int PermissionManager::RequestPermission(
|
||||||
content::ChildProcessSecurityPolicy::GetInstance()->
|
content::ChildProcessSecurityPolicy::GetInstance()->
|
||||||
GrantSendMidiSysExMessage(render_frame_host->GetProcess()->GetID());
|
GrantSendMidiSysExMessage(render_frame_host->GetProcess()->GetID());
|
||||||
}
|
}
|
||||||
callback.Run(content::PERMISSION_STATUS_GRANTED);
|
callback.Run(content::PermissionStatus::GRANTED);
|
||||||
return kNoPendingOperation;
|
return kNoPendingOperation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ int PermissionManager::RequestPermissions(
|
||||||
GrantSendMidiSysExMessage(render_frame_host->GetProcess()->GetID());
|
GrantSendMidiSysExMessage(render_frame_host->GetProcess()->GetID());
|
||||||
}
|
}
|
||||||
|
|
||||||
permissionStatuses.push_back(content::PERMISSION_STATUS_GRANTED);
|
permissionStatuses.push_back(content::PermissionStatus::GRANTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
callback.Run(permissionStatuses);
|
callback.Run(permissionStatuses);
|
||||||
|
@ -65,7 +65,7 @@ content::PermissionStatus PermissionManager::GetPermissionStatus(
|
||||||
content::PermissionType permission,
|
content::PermissionType permission,
|
||||||
const GURL& requesting_origin,
|
const GURL& requesting_origin,
|
||||||
const GURL& embedding_origin) {
|
const GURL& embedding_origin) {
|
||||||
return content::PERMISSION_STATUS_GRANTED;
|
return content::PermissionStatus::GRANTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PermissionManager::RegisterPermissionUsage(
|
void PermissionManager::RegisterPermissionUsage(
|
||||||
|
|
Loading…
Reference in a new issue