1// Copyright 2013 The Chromium Authors. 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#ifndef CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_SCHEME_HOSTS_H_
6#define CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_SCHEME_HOSTS_H_
7
8#include "chrome/common/extensions/permissions/permission_message.h"
9
10// Chrome-specific special case handling for permissions on hosts in
11// the chrome:// scheme.
12namespace extensions {
13
14class APIPermissionSet;
15class Extension;
16class URLPatternSet;
17
18PermissionMessages GetChromeSchemePermissionWarnings(
19    const URLPatternSet& hosts);
20
21URLPatternSet GetPermittedChromeSchemeHosts(
22    const Extension* extension,
23    const APIPermissionSet& permissions);
24
25}  // namespace extensions
26
27#endif  // CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_SCHEME_HOSTS_H_
28