extension_cookies_api_constants.cc revision 3345a6884c488ff3a535c2c9acdd33d74b37e311
1// Copyright (c) 2010 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#include "chrome/browser/extensions/extension_cookies_api_constants.h"
6
7namespace extension_cookies_api_constants {
8
9const char kCookieKey[] = "cookie";
10const char kDomainKey[] = "domain";
11const char kExpirationDateKey[] = "expirationDate";
12const char kHostOnlyKey[] = "hostOnly";
13const char kHttpOnlyKey[] = "httpOnly";
14const char kIdKey[] = "id";
15const char kNameKey[] = "name";
16const char kPathKey[] = "path";
17const char kRemovedKey[] = "removed";
18const char kSecureKey[] = "secure";
19const char kSessionKey[] = "session";
20const char kStoreIdKey[] = "storeId";
21const char kTabIdsKey[] = "tabIds";
22const char kUrlKey[] = "url";
23const char kValueKey[] = "value";
24
25const char kOnChanged[] = "cookies.onChanged";
26
27const char kCookieSetFailedError[] =
28    "Failed to parse or set cookie named \"*\".";
29const char kInvalidStoreIdError[] = "Invalid cookie store id: \"*\".";
30const char kInvalidUrlError[] = "Invalid url: \"*\".";
31const char kNoCookieStoreFoundError[] =
32    "No accessible cookie store found for the current execution context.";
33const char kNoHostPermissionsError[] =
34    "No host permissions for cookies at url: \"*\".";
35
36}  // namespace extension_cookies_api_constants
37