#include "extensions/test/permissions_manager_waiter.h"
namespace extensions {
PermissionsManagerWaiter::PermissionsManagerWaiter(
PermissionsManager* manager) { … }
PermissionsManagerWaiter::~PermissionsManagerWaiter() = default;
void PermissionsManagerWaiter::WaitForUserPermissionsSettingsChange() { … }
void PermissionsManagerWaiter::WaitForExtensionPermissionsUpdate() { … }
void PermissionsManagerWaiter::WaitForExtensionPermissionsUpdate(
base::OnceCallback<void(const Extension& extension,
const PermissionSet& permissions,
PermissionsManager::UpdateReason reason)>
callback) { … }
void PermissionsManagerWaiter::OnUserPermissionsSettingsChanged(
const PermissionsManager::UserPermissionsSettings& settings) { … }
void PermissionsManagerWaiter::OnExtensionPermissionsUpdated(
const Extension& extension,
const PermissionSet& permissions,
PermissionsManager::UpdateReason reason) { … }
}