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

Issue 10986034: Track ga.js through the cache. (Closed)

Created:
8 years, 2 months ago by willchan no longer on Chromium
Modified:
8 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Track ga.js through the cache. Since ga.js would hit Google anyways, the privacy implication is minimal. ga.js is a rather ubiquitous script, so that makes it a useful case study for cache policies. BUG=147383 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159409

Patch Set 1 #

Total comments: 4

Patch Set 2 : Redo bits #

Patch Set 3 : Combine must_doom_entry_ into the bitmask. #

Patch Set 4 : Change bitwise AND to bitwise OR. #

Total comments: 15

Patch Set 5 : Fix comments. #

Patch Set 6 : Ditch field trials stuff. #

Total comments: 2

Patch Set 7 : Fix more bitwise ORs. #

Patch Set 8 : Allocate a ResourceData #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -13 lines) Patch
M net/http/infinite_cache.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M net/http/infinite_cache.cc View 1 2 3 4 5 6 7 8 chunks +77 lines, -12 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
willchan no longer on Chromium
I will ditch the field trial change before I land. Was just using that for ...
8 years, 2 months ago (2012-09-28 21:06:14 UTC) #1
rvargas (doing something else)
The number of histograms look fine. http://codereview.chromium.org/10986034/diff/1/net/http/infinite_cache.cc File net/http/infinite_cache.cc (left): http://codereview.chromium.org/10986034/diff/1/net/http/infinite_cache.cc#oldcode258 net/http/infinite_cache.cc:258: resource_data_.reset(new ResourceData); move ...
8 years, 2 months ago (2012-09-28 21:51:15 UTC) #2
willchan no longer on Chromium
http://codereview.chromium.org/10986034/diff/1/net/http/infinite_cache.cc File net/http/infinite_cache.cc (left): http://codereview.chromium.org/10986034/diff/1/net/http/infinite_cache.cc#oldcode258 net/http/infinite_cache.cc:258: resource_data_.reset(new ResourceData); On 2012/09/28 21:51:15, rvargas wrote: > move ...
8 years, 2 months ago (2012-09-28 22:07:55 UTC) #3
willchan no longer on Chromium
Btw, I've updated it now to redo the bits so there's one for HTTP and ...
8 years, 2 months ago (2012-09-28 22:21:07 UTC) #4
willchan no longer on Chromium
OK, I've combined the |must_doom_entry_| into the bitmask.
8 years, 2 months ago (2012-09-29 00:49:55 UTC) #5
rvargas (doing something else)
time to remove field_trials? http://codereview.chromium.org/10986034/diff/18001/net/http/infinite_cache.cc File net/http/infinite_cache.cc (right): http://codereview.chromium.org/10986034/diff/18001/net/http/infinite_cache.cc#newcode50 net/http/infinite_cache.cc:50: GA_JS_HTTPS = 1 << 9, ...
8 years, 2 months ago (2012-09-29 02:12:51 UTC) #6
willchan no longer on Chromium
http://codereview.chromium.org/10986034/diff/18001/net/http/infinite_cache.cc File net/http/infinite_cache.cc (right): http://codereview.chromium.org/10986034/diff/18001/net/http/infinite_cache.cc#newcode50 net/http/infinite_cache.cc:50: GA_JS_HTTPS = 1 << 9, // 0 means HTTP, ...
8 years, 2 months ago (2012-09-29 02:18:27 UTC) #7
willchan no longer on Chromium
OK, I've ditched the field trial too.
8 years, 2 months ago (2012-09-29 02:20:31 UTC) #8
rvargas (doing something else)
lgtm after fixing the boolean or. http://codereview.chromium.org/10986034/diff/21003/net/http/infinite_cache.cc File net/http/infinite_cache.cc (right): http://codereview.chromium.org/10986034/diff/21003/net/http/infinite_cache.cc#newcode264 net/http/infinite_cache.cc:264: resource_data_->details.flags &= GA_JS_HTTP; ...
8 years, 2 months ago (2012-09-29 02:28:15 UTC) #9
willchan no longer on Chromium
I'm going to send this to the CQ tonight since I've got approval now. http://codereview.chromium.org/10986034/diff/21003/net/http/infinite_cache.cc ...
8 years, 2 months ago (2012-09-29 02:31:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/willchan@chromium.org/10986034/18002
8 years, 2 months ago (2012-09-29 06:26:16 UTC) #11
commit-bot: I haz the power
8 years, 2 months ago (2012-09-29 14:21:47 UTC) #12
Change committed as 159409

Powered by Google App Engine
This is Rietveld 408576698