Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / extensions / api / cookies / cookies_api_constants.h
blobdd632693e739668679976070ab8f893644ebe6f4
1 // Copyright (c) 2012 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.
5 // Constants used for the Cookies API.
7 #ifndef CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_CONSTANTS_H_
8 #define CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_CONSTANTS_H_
10 namespace extensions {
11 namespace cookies_api_constants {
13 // Keys.
14 extern const char kCauseKey[];
15 extern const char kCookieKey[];
16 extern const char kDomainKey[];
17 extern const char kIdKey[];
18 extern const char kRemovedKey[];
19 extern const char kTabIdsKey[];
21 // Cause Constants
22 extern const char kEvictedChangeCause[];
23 extern const char kExpiredChangeCause[];
24 extern const char kExpiredOverwriteChangeCause[];
25 extern const char kExplicitChangeCause[];
26 extern const char kOverwriteChangeCause[];
28 // Events.
29 extern const char kOnChanged[];
31 // Errors.
32 extern const char kCookieSetFailedError[];
33 extern const char kInvalidStoreIdError[];
34 extern const char kInvalidUrlError[];
35 extern const char kNoCookieStoreFoundError[];
36 extern const char kNoHostPermissionsError[];
38 } // namespace cookies_api_constants
39 } // namespace extensions
41 #endif // CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_CONSTANTS_H_