Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/contentPolicy.js

Issue 6337686776315904: Issue 394 - hit statistics tool data collection (Closed)
Patch Set: Rebase to changeset 4157 Created April 6, 2016, 2:56 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/locale/en-US/filters.dtd ('k') | lib/filterHits.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/contentPolicy.js
===================================================================
--- a/lib/contentPolicy.js
+++ b/lib/contentPolicy.js
@@ -125,7 +125,8 @@
function addHit(frameIndex, contentType, docDomain, thirdParty, location, filter)
{
if (filter && !isPrivate)
- FilterStorage.increaseHitCount(filter);
+ FilterStorage.increaseHitCount(filter, docDomain, thirdParty);
+
hits.push({
frameIndex, contentType, docDomain, thirdParty, location,
filter: filter ? filter.text : null,
« no previous file with comments | « chrome/locale/en-US/filters.dtd ('k') | lib/filterHits.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld