OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Constants used for the Cookies API. | 5 // Constants used for the Cookies API. |
6 | 6 |
7 #ifndef CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_CONSTANTS_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_CONSTANTS_H_ |
9 #pragma once | |
10 | 9 |
11 namespace extensions { | 10 namespace extensions { |
12 namespace cookies_api_constants { | 11 namespace cookies_api_constants { |
13 | 12 |
14 // Keys. | 13 // Keys. |
15 extern const char kCauseKey[]; | 14 extern const char kCauseKey[]; |
16 extern const char kCookieKey[]; | 15 extern const char kCookieKey[]; |
17 extern const char kDomainKey[]; | 16 extern const char kDomainKey[]; |
18 extern const char kExpirationDateKey[]; | 17 extern const char kExpirationDateKey[]; |
19 extern const char kHostOnlyKey[]; | 18 extern const char kHostOnlyKey[]; |
(...skipping 23 matching lines...) Expand all Loading... |
43 extern const char kCookieSetFailedError[]; | 42 extern const char kCookieSetFailedError[]; |
44 extern const char kInvalidStoreIdError[]; | 43 extern const char kInvalidStoreIdError[]; |
45 extern const char kInvalidUrlError[]; | 44 extern const char kInvalidUrlError[]; |
46 extern const char kNoCookieStoreFoundError[]; | 45 extern const char kNoCookieStoreFoundError[]; |
47 extern const char kNoHostPermissionsError[]; | 46 extern const char kNoHostPermissionsError[]; |
48 | 47 |
49 } // namespace cookies_api_constants | 48 } // namespace cookies_api_constants |
50 } // namespace extensions | 49 } // namespace extensions |
51 | 50 |
52 #endif // CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_CONSTANTS_H_ | 51 #endif // CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_CONSTANTS_H_ |
OLD | NEW |