[WRTjs] Refactor popup
[platform/framework/web/chromium-efl.git] / wrt / src / browser / wrt_permission_manager.cc
1 // Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "wrt/src/browser/wrt_permission_manager.h"
6
7 namespace wrt {
8
9 content::PermissionResult
10 WRTPermissionManager::GetPermissionResultForCurrentDocument(
11     blink::PermissionType permission,
12     content::RenderFrameHost* render_frame_host) {
13   return content::PermissionResult(
14       blink::mojom::PermissionStatus::GRANTED,
15       content::PermissionStatusSource::UNSPECIFIED);
16 }
17
18 }  // namespace wrt