summaryrefslogtreecommitdiffstats
path: root/tools/metrics/actions
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-12 22:55:56 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-12 22:55:56 +0000
commit6e29f56b6750ef86f1e90f0296fd03c4cccf109f (patch)
tree4a48c6aa7e5d2142ee12e786b7409c6f9dbe3a76 /tools/metrics/actions
parent49bb3d96989c208cfcc0a7b366e95e73b9589bfc (diff)
downloadchromium_src-6e29f56b6750ef86f1e90f0296fd03c4cccf109f.zip
chromium_src-6e29f56b6750ef86f1e90f0296fd03c4cccf109f.tar.gz
chromium_src-6e29f56b6750ef86f1e90f0296fd03c4cccf109f.tar.bz2
Add a user metrics for invalid referrers detected in the network stack
BUG=none R=jar@chromium.org Review URL: https://codereview.chromium.org/155643004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250819 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/metrics/actions')
-rw-r--r--tools/metrics/actions/chromeactions.txt1
-rwxr-xr-xtools/metrics/actions/extract_actions.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/tools/metrics/actions/chromeactions.txt b/tools/metrics/actions/chromeactions.txt
index a982c4d..7a4d3f7 100644
--- a/tools/metrics/actions/chromeactions.txt
+++ b/tools/metrics/actions/chromeactions.txt
@@ -1356,6 +1356,7 @@
0xdcf1af37de1d8dd0 NativeUI_Applications
0x08b0a573ad336d14 NavEntryCommitted
0xcace6bb1e166082f NavEntryCommitted.SRP
+0x17dee5b17b6cc8df Net.URLRequest_StartJob_InvalidReferrer
0x3c6e0d9310ba3a20 NewIncognitoWindow
0xeddaa38a10bf8374 NewProfileWindowByIndex
0x290eb683f96572f1 NewTab
diff --git a/tools/metrics/actions/extract_actions.py b/tools/metrics/actions/extract_actions.py
index 38cfb2b..11a2e00 100755
--- a/tools/metrics/actions/extract_actions.py
+++ b/tools/metrics/actions/extract_actions.py
@@ -508,6 +508,8 @@ def AddLiteralActions(actions):
WalkDirectory(chrome_root, actions, EXTENSIONS, GrepForActions)
content_root = os.path.normpath(os.path.join(REPOSITORY_ROOT, 'content'))
WalkDirectory(content_root, actions, EXTENSIONS, GrepForActions)
+ net_root = os.path.normpath(os.path.join(REPOSITORY_ROOT, 'net'))
+ WalkDirectory(net_root, actions, EXTENSIONS, GrepForActions)
webkit_root = os.path.normpath(os.path.join(REPOSITORY_ROOT, 'webkit'))
WalkDirectory(os.path.join(webkit_root, 'glue'), actions, EXTENSIONS,
GrepForActions)