blob: ef0d545521ef196ebce21215974d75cc0e332298 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/permissions/permission_prompt.h"
#include "components/permissions/permissions_client.h"
namespace permissions {
// TODO(crbug.com/40107932): Move the desktop permission prompt implementations
// into //components/permissions.
std::unique_ptr<PermissionPrompt> PermissionPrompt::Create(
content::WebContents* web_contents,
Delegate* delegate) {
return PermissionsClient::Get()->CreatePrompt(web_contents, delegate);
}
} // namespace permissions