OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 // String constants used when logging data in the extension activity log. | 5 // String constants used when logging data in the extension activity log. |
6 | 6 |
7 #include "chrome/browser/extensions/activity_log/activity_action_constants.h" | 7 #include "chrome/browser/extensions/activity_log/activity_action_constants.h" |
8 | 8 |
9 namespace activity_log_constants { | 9 namespace activity_log_constants { |
10 | 10 |
11 // Keys that may be used in the "other" attribute of an Action. | 11 // Keys that may be used in the "other" attribute of an Action. |
12 const char kActionBlockedReason[] = "blocked_reason"; | 12 const char kActionBlockedReason[] = "blocked_reason"; |
13 const char kActionDomVerb[] = "dom_verb"; | 13 const char kActionDomVerb[] = "dom_verb"; |
14 const char kActionExtra[] = "extra"; | 14 const char kActionExtra[] = "extra"; |
15 const char kActionPrerender[] = "prerender"; | 15 const char kActionPrerender[] = "prerender"; |
16 const char kActionWebRequest[] = "web_request"; | 16 const char kActionWebRequest[] = "web_request"; |
17 | 17 |
18 // A string used in place of the real URL when the URL is hidden because it is | 18 // A string used in place of the real URL when the URL is hidden because it is |
19 // in an incognito window. Extension activity logs mentioning kIncognitoUrl | 19 // in an incognito window. Extension activity logs mentioning kIncognitoUrl |
20 // let the user know that an extension is manipulating incognito tabs without | 20 // let the user know that an extension is manipulating incognito tabs without |
21 // recording specific data about the pages. | 21 // recording specific data about the pages. |
22 const char kIncognitoUrl[] = "<incognito>"; | 22 const char kIncognitoUrl[] = "<incognito>"; |
23 | 23 |
| 24 // A string used as a placeholder for URLs which have been removed from the |
| 25 // argument list and stored to the arg_url field. |
| 26 const char kArgUrlPlaceholder[] = "<arg_url>"; |
| 27 |
24 } // namespace activity_log_constants | 28 } // namespace activity_log_constants |
OLD | NEW |