blob: be19b5a53716adaa2bc85e61ea830171ec2255bc [file] [log] [blame]
// 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 CHROME_BROWSER_PERMISSIONS_PERMISSION_UTIL_H_
#define CHROME_BROWSER_PERMISSIONS_PERMISSION_UTIL_H_
#include <string>
#include "base/macros.h"
namespace content {
enum class PermissionType;
} // namespace content
// A utility class for permissions.
class PermissionUtil {
public:
// Returns the permission string for the given PermissionType.
static std::string GetPermissionString(content::PermissionType permission);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(PermissionUtil);
};
#endif // CHROME_BROWSER_PERMISSIONS_PERMISSION_UTIL_H_