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 #ifndef CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_ACTION_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_ACTION_CONSTANTS_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_ACTION_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_ACTION_CONSTANTS_H_ |
9 | 9 |
10 namespace activity_log_constants { | 10 namespace activity_log_constants { |
11 | 11 |
12 // Keys that may be used in the "other" attribute of an Action. | 12 // Keys that may be used in the "other" attribute of an Action. |
13 extern const char kActionBlockedReason[]; | 13 extern const char kActionBlockedReason[]; |
14 extern const char kActionDomVerb[]; | 14 extern const char kActionDomVerb[]; |
15 extern const char kActionExtra[]; | 15 extern const char kActionExtra[]; |
16 extern const char kActionPrerender[]; | 16 extern const char kActionPrerender[]; |
17 extern const char kActionWebRequest[]; | 17 extern const char kActionWebRequest[]; |
18 | 18 |
19 // A string used in place of the real URL when the URL is hidden because it is | 19 // A string used in place of the real URL when the URL is hidden because it is |
20 // in an incognito window. Extension activity logs mentioning kIncognitoUrl | 20 // in an incognito window. Extension activity logs mentioning kIncognitoUrl |
21 // let the user know that an extension is manipulating incognito tabs without | 21 // let the user know that an extension is manipulating incognito tabs without |
22 // recording specific data about the pages. | 22 // recording specific data about the pages. |
23 extern const char kIncognitoUrl[]; | 23 extern const char kIncognitoUrl[]; |
24 | 24 |
| 25 // A string used as a placeholder for URLs which have been removed from the |
| 26 // argument list and stored to the arg_url field. |
| 27 extern const char kArgUrlPlaceholder[]; |
| 28 |
25 } // namespace activity_log_constants | 29 } // namespace activity_log_constants |
26 | 30 |
27 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_ACTION_CONSTANTS_H_ | 31 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_ACTION_CONSTANTS_H_ |
OLD | NEW |