Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / extensions / api / cookies / cookies_api_constants.cc
blobe22aac86af35330e7f3ad721eb895f4bd2c3a133
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 #include "chrome/browser/extensions/api/cookies/cookies_api_constants.h"
7 namespace extensions {
8 namespace cookies_api_constants {
10 // Keys
11 const char kCauseKey[] = "cause";
12 const char kCookieKey[] = "cookie";
13 const char kDomainKey[] = "domain";
14 const char kIdKey[] = "id";
15 const char kRemovedKey[] = "removed";
16 const char kTabIdsKey[] = "tabIds";
18 // Cause Constants
19 const char kEvictedChangeCause[] = "evicted";
20 const char kExpiredChangeCause[] = "expired";
21 const char kExpiredOverwriteChangeCause[] = "expired_overwrite";
22 const char kExplicitChangeCause[] = "explicit";
23 const char kOverwriteChangeCause[] = "overwrite";
25 // Errors
26 const char kCookieSetFailedError[] =
27 "Failed to parse or set cookie named \"*\".";
28 const char kInvalidStoreIdError[] = "Invalid cookie store id: \"*\".";
29 const char kInvalidUrlError[] = "Invalid url: \"*\".";
30 const char kNoCookieStoreFoundError[] =
31 "No accessible cookie store found for the current execution context.";
32 const char kNoHostPermissionsError[] =
33 "No host permissions for cookies at url: \"*\".";
35 } // namespace cookies_api_constants
36 } // namespace extensions