1 // Copyright (c) 2013 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 // Constants used when describing request modifications via the WebRequest API
6 // in the activity log.
8 #ifndef EXTENSIONS_BROWSER_API_ACTIVITY_LOG_WEB_REQUEST_CONSTANTS_H_
9 #define EXTENSIONS_BROWSER_API_ACTIVITY_LOG_WEB_REQUEST_CONSTANTS_H_
11 namespace activity_log_web_request_constants
{
13 // Keys used in the dictionary summarizing an EventResponseDelta for the
14 // extension activity log.
15 extern const char kCancelKey
[];
16 extern const char kNewUrlKey
[];
17 extern const char kModifiedRequestHeadersKey
[];
18 extern const char kDeletedRequestHeadersKey
[];
19 extern const char kAddedRequestHeadersKey
[];
20 extern const char kDeletedResponseHeadersKey
[];
21 extern const char kAuthCredentialsKey
[];
22 extern const char kResponseCookieModificationsKey
[];
24 // Keys and values used for describing cookie modifications.
25 extern const char kCookieModificationTypeKey
[];
26 extern const char kCookieModificationAdd
[];
27 extern const char kCookieModificationEdit
[];
28 extern const char kCookieModificationRemove
[];
29 extern const char kCookieFilterNameKey
[];
30 extern const char kCookieFilterDomainKey
[];
31 extern const char kCookieModNameKey
[];
32 extern const char kCookieModDomainKey
[];
34 } // namespace activity_log_web_request_constants
36 #endif // EXTENSIONS_BROWSER_API_ACTIVITY_LOG_WEB_REQUEST_CONSTANTS_H_