Home | History | Annotate | Download | only in extensions
      1 // Copyright (c) 2011 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.
      4 
      5 // Constants used for the Cookies API.
      6 
      7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_COOKIES_API_CONSTANTS_H_
      8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_COOKIES_API_CONSTANTS_H_
      9 #pragma once
     10 
     11 namespace extension_cookies_api_constants {
     12 
     13 // Keys.
     14 extern const char kCauseKey[];
     15 extern const char kCookieKey[];
     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[];
     21 extern const char kNameKey[];
     22 extern const char kPathKey[];
     23 extern const char kRemovedKey[];
     24 extern const char kSecureKey[];
     25 extern const char kSessionKey[];
     26 extern const char kStoreIdKey[];
     27 extern const char kTabIdsKey[];
     28 extern const char kUrlKey[];
     29 extern const char kValueKey[];
     30 
     31 // Cause Constants
     32 extern const char kEvictedChangeCause[];
     33 extern const char kExpiredChangeCause[];
     34 extern const char kExpiredOverwriteChangeCause[];
     35 extern const char kExplicitChangeCause[];
     36 extern const char kOverwriteChangeCause[];
     37 
     38 // Events.
     39 extern const char kOnChanged[];
     40 
     41 // Errors.
     42 extern const char kCookieSetFailedError[];
     43 extern const char kInvalidStoreIdError[];
     44 extern const char kInvalidUrlError[];
     45 extern const char kNoCookieStoreFoundError[];
     46 extern const char kNoHostPermissionsError[];
     47 
     48 }  // namespace extension_cookies_api_constants
     49 
     50 #endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_COOKIES_API_CONSTANTS_H_
     51