2015-11-10 21:18:16 +01:00
|
|
|
// Copyright 2015 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.
|
|
|
|
|
|
|
|
#ifndef CEF_LIBCEF_BROWSER_PERMISSIONS_PERMISSION_UTIL_H_
|
|
|
|
#define CEF_LIBCEF_BROWSER_PERMISSIONS_PERMISSION_UTIL_H_
|
|
|
|
|
|
|
|
#include "components/content_settings/core/common/content_settings_types.h"
|
|
|
|
#include "content/public/browser/permission_type.h"
|
|
|
|
|
|
|
|
namespace permission_util {
|
|
|
|
|
|
|
|
// Helper method to convert PermissionType to ContentSettingType.
|
|
|
|
ContentSettingsType PermissionTypeToContentSetting(
|
|
|
|
content::PermissionType permission);
|
|
|
|
|
|
|
|
} // namespace permission_util
|
|
|
|
|
2017-05-17 11:29:28 +02:00
|
|
|
#endif // CEF_LIBCEF_BROWSER_PERMISSIONS_PERMISSION_UTIL_H_
|