blob: 64b51162d3b7a565126cff2530bd03409c30dbfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright (c) 2011 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.
// Constants used for the Tabs API and the Windows API.
#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_API_CONSTANTS_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_API_CONSTANTS_H_
#pragma once
namespace extension_permissions_module_constants {
// Keys used in serializing permissions data and events.
extern const char kApisKey[];
// Error messages.
extern const char kCantRemoveRequiredPermissionsError[];
extern const char kNotInOptionalPermissionsError[];
extern const char kNotWhitelistedError[];
extern const char kUnknownPermissionError[];
// Event names.
extern const char kOnAdded[];
extern const char kOnRemoved[];
}; // namespace extension_permissions_module_constants
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_API_CONSTANTS_H_
|