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

Issue 2076663004: Control data saver pingback reporting fraction with protobuf (Closed)

Created:
4 years, 6 months ago by RyanSturm
Modified:
4 years, 6 months ago
Reviewers:
tbansal1
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Control data saver pingback reporting fraction with protobuf The pingback is modulated by a float that is contained in the client config protobuf. By default, the pingback is disabled, and the client config can vary the probability between zero and one. BUG=616805 Committed: https://crrev.com/31a97850d684c0ea8b891da1b8bebc633a6f1198 Cr-Commit-Position: refs/heads/master@{#400719}

Patch Set 1 #

Total comments: 27

Patch Set 2 : nits #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -43 lines) Patch
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h View 1 3 chunks +5 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc View 1 2 4 chunks +14 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc View 1 2 3 7 chunks +119 lines, -7 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc View 1 2 chunks +10 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.h View 1 1 chunk +13 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc View 1 2 3 chunks +17 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client_unittest.cc View 1 4 chunks +60 lines, -8 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h View 2 chunks +15 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc View 1 2 3 4 chunks +30 lines, -20 lines 0 comments Download
M components/data_reduction_proxy/proto/client_config.proto View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
RyanSturm
tbansal: PTAL
4 years, 6 months ago (2016-06-17 18:01:17 UTC) #2
tbansal1
https://codereview.chromium.org/2076663004/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc (right): https://codereview.chromium.org/2076663004/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc#newcode393 components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc:393: io_data_->SetPingbackReportingFraction(0.0); s/0.0/0.0f/ floats should all be suffixed with .f, ...
4 years, 6 months ago (2016-06-17 18:51:13 UTC) #3
RyanSturm
https://codereview.chromium.org/2076663004/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc (right): https://codereview.chromium.org/2076663004/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc#newcode393 components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc:393: io_data_->SetPingbackReportingFraction(0.0); On 2016/06/17 18:51:13, tbansal1 wrote: > s/0.0/0.0f/ > ...
4 years, 6 months ago (2016-06-17 20:29:57 UTC) #4
tbansal1
https://codereview.chromium.org/2076663004/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc (right): https://codereview.chromium.org/2076663004/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc#newcode227 components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc:227: pingback_reporting_fraction_(0.5) { On 2016/06/17 20:29:57, RyanSturm wrote: > On ...
4 years, 6 months ago (2016-06-17 21:31:42 UTC) #5
RyanSturm
On 2016/06/17 21:31:42, tbansal1 wrote: > https://codereview.chromium.org/2076663004/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc > File > components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc > (right): > > ...
4 years, 6 months ago (2016-06-17 21:48:57 UTC) #6
tbansal1
lgtm
4 years, 6 months ago (2016-06-17 21:54:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2076663004/60001
4 years, 6 months ago (2016-06-20 17:19:33 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-20 17:56:23 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-20 18:02:26 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/31a97850d684c0ea8b891da1b8bebc633a6f1198
Cr-Commit-Position: refs/heads/master@{#400719}

Powered by Google App Engine
This is Rietveld 408576698