| 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 | 9 |
| 10 namespace extensions { | 10 namespace extensions { |
| 11 namespace cookies_api_constants { | 11 namespace cookies_api_constants { |
| 12 | 12 |
| 13 // Keys. | 13 // Keys. |
| 14 extern const char kCauseKey[]; | 14 extern const char kCauseKey[]; |
| 15 extern const char kCookieKey[]; | 15 extern const char kCookieKey[]; |
| 16 extern const char kDomainKey[]; | 16 extern const char kDomainKey[]; |
| 17 extern const char kExpirationDateKey[]; | |
| 18 extern const char kHostOnlyKey[]; | |
| 19 extern const char kHttpOnlyKey[]; | |
| 20 extern const char kIdKey[]; | 17 extern const char kIdKey[]; |
| 21 extern const char kNameKey[]; | |
| 22 extern const char kPathKey[]; | |
| 23 extern const char kRemovedKey[]; | 18 extern const char kRemovedKey[]; |
| 24 extern const char kSecureKey[]; | |
| 25 extern const char kSessionKey[]; | |
| 26 extern const char kStoreIdKey[]; | |
| 27 extern const char kTabIdsKey[]; | 19 extern const char kTabIdsKey[]; |
| 28 extern const char kUrlKey[]; | |
| 29 extern const char kValueKey[]; | |
| 30 | 20 |
| 31 // Cause Constants | 21 // Cause Constants |
| 32 extern const char kEvictedChangeCause[]; | 22 extern const char kEvictedChangeCause[]; |
| 33 extern const char kExpiredChangeCause[]; | 23 extern const char kExpiredChangeCause[]; |
| 34 extern const char kExpiredOverwriteChangeCause[]; | 24 extern const char kExpiredOverwriteChangeCause[]; |
| 35 extern const char kExplicitChangeCause[]; | 25 extern const char kExplicitChangeCause[]; |
| 36 extern const char kOverwriteChangeCause[]; | 26 extern const char kOverwriteChangeCause[]; |
| 37 | 27 |
| 38 // Events. | 28 // Events. |
| 39 extern const char kOnChanged[]; | 29 extern const char kOnChanged[]; |
| 40 | 30 |
| 41 // Errors. | 31 // Errors. |
| 42 extern const char kCookieSetFailedError[]; | 32 extern const char kCookieSetFailedError[]; |
| 43 extern const char kInvalidStoreIdError[]; | 33 extern const char kInvalidStoreIdError[]; |
| 44 extern const char kInvalidUrlError[]; | 34 extern const char kInvalidUrlError[]; |
| 45 extern const char kNoCookieStoreFoundError[]; | 35 extern const char kNoCookieStoreFoundError[]; |
| 46 extern const char kNoHostPermissionsError[]; | 36 extern const char kNoHostPermissionsError[]; |
| 47 | 37 |
| 48 } // namespace cookies_api_constants | 38 } // namespace cookies_api_constants |
| 49 } // namespace extensions | 39 } // namespace extensions |
| 50 | 40 |
| 51 #endif // CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_CONSTANTS_H_ | 41 #endif // CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_CONSTANTS_H_ |
| OLD | NEW |