Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Issue 1424933014: Fix Rappor stats reporting for MixedContent. (Closed)

Created:
5 years, 1 month ago by Jialiu Lin
Modified:
4 years, 4 months ago
Reviewers:
lgarron, Nico
CC:
chromium-reviews, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix Rappor stats for MixedContent. The problem was GURL(string url) need take a complete URL (with scheme and host ), otherwise it will return an empty GURL. BUG=536975

Patch Set 1 #

Total comments: 2

Patch Set 2 : cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/browser/content_settings/tab_specific_content_settings.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/content_settings_observer.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (3 generated)
Jialiu Lin
lgarron@ for bug review thakis@ for OWNER review.
5 years, 1 month ago (2015-11-06 23:20:53 UTC) #3
lgarron
https://codereview.chromium.org/1424933014/diff/1/chrome/renderer/content_settings_observer.cc File chrome/renderer/content_settings_observer.cc (right): https://codereview.chromium.org/1424933014/diff/1/chrome/renderer/content_settings_observer.cc#newcode589 chrome/renderer/content_settings_observer.cc:589: DidBlockContentType(CONTENT_SETTINGS_TYPE_MIXEDSCRIPT, origin.toString()); This seems like a good semantic fix. ...
5 years, 1 month ago (2015-11-06 23:25:08 UTC) #4
Jialiu Lin
Thanks, lgarron! https://codereview.chromium.org/1424933014/diff/1/chrome/renderer/content_settings_observer.cc File chrome/renderer/content_settings_observer.cc (right): https://codereview.chromium.org/1424933014/diff/1/chrome/renderer/content_settings_observer.cc#newcode589 chrome/renderer/content_settings_observer.cc:589: DidBlockContentType(CONTENT_SETTINGS_TYPE_MIXEDSCRIPT, origin.toString()); On 2015/11/06 23:25:08, lgarron wrote: ...
5 years, 1 month ago (2015-11-07 00:23:43 UTC) #6
Jialiu Lin
ping Nico for OWNER review. Thanks!
5 years, 1 month ago (2015-11-09 23:24:08 UTC) #7
Nico
is it possible to test this?
5 years, 1 month ago (2015-11-09 23:28:38 UTC) #8
Jialiu Lin
Tested manually. Since Rappor stats are sampled probabilistically, it is not easy to test using ...
5 years, 1 month ago (2015-11-09 23:31:41 UTC) #9
Nico
On 2015/11/09 23:31:41, JialiuLin wrote: > Tested manually. > Since Rappor stats are sampled probabilistically, ...
5 years, 1 month ago (2015-11-09 23:32:43 UTC) #10
lgarron
On 2015/11/09 at 23:32:43, thakis wrote: > On 2015/11/09 23:31:41, JialiuLin wrote: > > Tested ...
5 years, 1 month ago (2015-11-09 23:36:09 UTC) #11
Nico
probably better to fix with a test and then merge the fix to the branch ...
5 years, 1 month ago (2015-11-09 23:38:49 UTC) #12
lgarron
Yeah, totes. That wasn't meant to be a justification, just an explanation. Jialiu: Do you ...
5 years, 1 month ago (2015-11-09 23:44:02 UTC) #13
Jialiu Lin
On 2015/11/09 23:44:02, lgarron wrote: > Yeah, totes. That wasn't meant to be a justification, ...
5 years, 1 month ago (2015-11-09 23:47:36 UTC) #14
lgarron
On 2015/11/09 at 23:47:36, jialiul wrote: > On 2015/11/09 23:44:02, lgarron wrote: > > Yeah, ...
5 years, 1 month ago (2015-11-17 00:27:01 UTC) #15
lgarron
thakis@: Despite Jialiu spending tome trying, and us pinging the RAPPOR team a few times ...
4 years, 9 months ago (2016-03-17 20:12:23 UTC) #16
Nico
4 years, 9 months ago (2016-03-18 22:33:19 UTC) #17
(we were able to get some help from rappor folks off-thread)

Powered by Google App Engine
This is Rietveld 408576698