summaryrefslogtreecommitdiff
path: root/chromium/extensions/browser/api/activity_log/web_request_constants.h
blob: da16d57982e104d454a15a15d2cba7d2b25502cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Constants used when describing request modifications via the WebRequest API
// in the activity log.

#ifndef EXTENSIONS_BROWSER_API_ACTIVITY_LOG_WEB_REQUEST_CONSTANTS_H_
#define EXTENSIONS_BROWSER_API_ACTIVITY_LOG_WEB_REQUEST_CONSTANTS_H_

namespace activity_log_web_request_constants {

// Keys used in the dictionary summarizing an EventResponseDelta for the
// extension activity log.
extern const char kCancelKey[];
extern const char kNewUrlKey[];
extern const char kModifiedRequestHeadersKey[];
extern const char kDeletedRequestHeadersKey[];
extern const char kAddedRequestHeadersKey[];
extern const char kDeletedResponseHeadersKey[];
extern const char kAuthCredentialsKey[];
extern const char kResponseCookieModificationsKey[];

// Keys and values used for describing cookie modifications.
extern const char kCookieModificationTypeKey[];
extern const char kCookieModificationAdd[];
extern const char kCookieModificationEdit[];
extern const char kCookieModificationRemove[];
extern const char kCookieFilterNameKey[];
extern const char kCookieFilterDomainKey[];
extern const char kCookieModNameKey[];
extern const char kCookieModDomainKey[];

}  // namespace activity_log_web_request_constants

#endif  // EXTENSIONS_BROWSER_API_ACTIVITY_LOG_WEB_REQUEST_CONSTANTS_H_