Index: chrome/browser/extensions/api/web_request/web_request_activitylog_constants.cc |
diff --git a/chrome/browser/extensions/api/web_request/web_request_activitylog_constants.cc b/chrome/browser/extensions/api/web_request/web_request_activitylog_constants.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..148e8a98413b42ffa5adace5b79afd04fe004934 |
--- /dev/null |
+++ b/chrome/browser/extensions/api/web_request/web_request_activitylog_constants.cc |
@@ -0,0 +1,33 @@ |
+// 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. |
+ |
+#include "chrome/browser/extensions/api/web_request/web_request_activitylog_constants.h" |
+ |
+namespace extension_web_request_activitylog_constants { |
+ |
+// Keys used in the dictionary summarizing an EventResponseDelta for the |
+// extension activity log. |
+const char kCancelKey[] = "cancel"; |
+const char kNewUrlKey[] = "new_url"; |
+const char kModifiedRequestHeadersKey[] = "modified_request_headers"; |
+const char kDeletedRequestHeadersKey[] = "deleted_request_headers"; |
+const char kAddedRequestHeadersKey[] = "added_request_headers"; |
+const char kDeletedResponseHeadersKey[] = "deleted_response_headers"; |
+const char kAuthCredentialsKey[] = "auth_credentials"; |
+const char kResponseCookieModificationsKey[] = "response_cookie_modifications"; |
+ |
+// Keys and values used for describing cookie modifications. |
+const char kCookieModificationTypeKey[] = "type"; |
+const char kCookieModificationAdd[] = "ADD"; |
+const char kCookieModificationEdit[] = "EDIT"; |
+const char kCookieModificationRemove[] = "REMOVE"; |
+const char kCookieFilterNameKey[] = "filter_name"; |
+const char kCookieFilterDomainKey[] = "filter_domain"; |
+const char kCookieModNameKey[] = "mod_name"; |
+const char kCookieModDomainKey[] = "mod_domain"; |
+ |
+} // namespace extension_web_request_activitylog_constants |