blob: 0d98650851031e73906663f000b3e6324ed1d978 [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// 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/1025609): 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