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

Issue 2940163002: Randomizing seed page id for DRP (Closed)

Created:
3 years, 6 months ago by RyanSturm
Modified:
3 years, 6 months ago
Reviewers:
tbansal1
CC:
chromium-reviews, tbansal+watch-data-reduction-proxy_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Randomizing seed page id for DRP The seed page id used for DRP should be randomized to avoid collisions with cached configs. BUG=733771 Review-Url: https://codereview.chromium.org/2940163002 Cr-Commit-Position: refs/heads/master@{#480095} Committed: https://chromium.googlesource.com/chromium/src/+/4704a57b1bde5279f8643c2db0b2778430e43e70

Patch Set 1 #

Patch Set 2 : removing random from tests #

Patch Set 3 : little test change #

Total comments: 4

Patch Set 4 : tbansal comments #

Patch Set 5 : changed random functions #

Total comments: 4

Patch Set 6 : tbansal comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -22 lines) Patch
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc View 1 2 3 9 chunks +31 lines, -13 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc View 1 2 3 4 5 4 chunks +6 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc View 3 1 chunk +8 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
RyanSturm
tbansal: PTAL There isn't a great way to verify that a new session gets a ...
3 years, 6 months ago (2017-06-15 20:11:58 UTC) #4
tbansal1
https://codereview.chromium.org/2940163002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc (right): https://codereview.chromium.org/2940163002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc#newcode85 components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc:85: ResetPageId(); It would be preferable if we do not ...
3 years, 6 months ago (2017-06-15 20:47:04 UTC) #7
RyanSturm
tbansal: PTAL, fixed relevant comments.
3 years, 6 months ago (2017-06-15 23:10:55 UTC) #10
tbansal1
https://codereview.chromium.org/2940163002/diff/80001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc (right): https://codereview.chromium.org/2940163002/diff/80001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc#newcode1888 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc:1888: page_id = io_data()->request_options()->GeneratePageId(); If you want to check if ...
3 years, 6 months ago (2017-06-16 00:23:14 UTC) #11
RyanSturm
https://codereview.chromium.org/2940163002/diff/80001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc (right): https://codereview.chromium.org/2940163002/diff/80001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc#newcode1888 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc:1888: page_id = io_data()->request_options()->GeneratePageId(); On 2017/06/16 00:23:14, tbansal1 wrote: > ...
3 years, 6 months ago (2017-06-16 17:05:39 UTC) #14
tbansal1
lgtm
3 years, 6 months ago (2017-06-16 17:07:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2940163002/100001
3 years, 6 months ago (2017-06-16 17:25:18 UTC) #18
commit-bot: I haz the power
3 years, 6 months ago (2017-06-16 17:45:07 UTC) #21
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/4704a57b1bde5279f8643c2db0b2...

Powered by Google App Engine
This is Rietveld 408576698