summaryrefslogtreecommitdiff
path: root/chromium/components/permissions/permission_prompt_impl.cc
blob: 0d98650851031e73906663f000b3e6324ed1d978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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