OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Constants used when describing request modifications via the WebRequest API | 5 // Constants used when describing request modifications via the WebRequest API |
6 // in the activity log. | 6 // in the activity log. |
7 | 7 |
8 #include "chrome/browser/extensions/activity_log/web_request_constants.h" | 8 #include "extensions/browser/api/activity_log/web_request_constants.h" |
9 | 9 |
10 namespace activity_log_web_request_constants { | 10 namespace activity_log_web_request_constants { |
11 | 11 |
12 // Keys used in the dictionary summarizing an EventResponseDelta for the | 12 // Keys used in the dictionary summarizing an EventResponseDelta for the |
13 // extension activity log. | 13 // extension activity log. |
14 const char kCancelKey[] = "cancel"; | 14 const char kCancelKey[] = "cancel"; |
15 const char kNewUrlKey[] = "new_url"; | 15 const char kNewUrlKey[] = "new_url"; |
16 const char kModifiedRequestHeadersKey[] = "modified_request_headers"; | 16 const char kModifiedRequestHeadersKey[] = "modified_request_headers"; |
17 const char kDeletedRequestHeadersKey[] = "deleted_request_headers"; | 17 const char kDeletedRequestHeadersKey[] = "deleted_request_headers"; |
18 const char kAddedRequestHeadersKey[] = "added_request_headers"; | 18 const char kAddedRequestHeadersKey[] = "added_request_headers"; |
19 const char kDeletedResponseHeadersKey[] = "deleted_response_headers"; | 19 const char kDeletedResponseHeadersKey[] = "deleted_response_headers"; |
20 const char kAuthCredentialsKey[] = "auth_credentials"; | 20 const char kAuthCredentialsKey[] = "auth_credentials"; |
21 const char kResponseCookieModificationsKey[] = "response_cookie_modifications"; | 21 const char kResponseCookieModificationsKey[] = "response_cookie_modifications"; |
22 | 22 |
23 // Keys and values used for describing cookie modifications. | 23 // Keys and values used for describing cookie modifications. |
24 const char kCookieModificationTypeKey[] = "type"; | 24 const char kCookieModificationTypeKey[] = "type"; |
25 const char kCookieModificationAdd[] = "ADD"; | 25 const char kCookieModificationAdd[] = "ADD"; |
26 const char kCookieModificationEdit[] = "EDIT"; | 26 const char kCookieModificationEdit[] = "EDIT"; |
27 const char kCookieModificationRemove[] = "REMOVE"; | 27 const char kCookieModificationRemove[] = "REMOVE"; |
28 const char kCookieFilterNameKey[] = "filter_name"; | 28 const char kCookieFilterNameKey[] = "filter_name"; |
29 const char kCookieFilterDomainKey[] = "filter_domain"; | 29 const char kCookieFilterDomainKey[] = "filter_domain"; |
30 const char kCookieModNameKey[] = "mod_name"; | 30 const char kCookieModNameKey[] = "mod_name"; |
31 const char kCookieModDomainKey[] = "mod_domain"; | 31 const char kCookieModDomainKey[] = "mod_domain"; |
32 | 32 |
33 } // namespace activity_log_web_request_constants | 33 } // namespace activity_log_web_request_constants |
OLD | NEW |