summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_preference_api_constants.h
blob: 079a57852eb557a7e5dd4d4e1e11ef63b6d4dde9 (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
29
30
31
32
33
// Copyright (c) 2012 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_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__
#pragma once

namespace extension_preference_api_constants {

// Keys for incoming arguments.
extern const char kIncognitoKey[];
extern const char kScopeKey[];

// Keys for returned parameters.
extern const char kIncognitoSpecific[];
extern const char kLevelOfControl[];
extern const char kValue[];

// Values for levelOfControl.
extern const char kNotControllable[];
extern const char kControlledByOtherExtensions[];
extern const char kControllableByThisExtension[];
extern const char kControlledByThisExtension[];

// Errors.
extern const char kIncognitoErrorMessage[];
extern const char kIncognitoSessionOnlyErrorMessage[];
extern const char kPermissionErrorMessage[];

}

#endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__