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

Issue 431493003: Implement policy for kNetworkPredictionOptions. (Closed)

Created:
6 years, 4 months ago by Bence
Modified:
6 years, 4 months ago
CC:
chromium-reviews, joaodasilva+watch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Implement policy for kNetworkPredictionOptions. A new policy is added for kNetworkPredictionOptions, a preference that deprecates kNetworkPredicionEnabled. The policy handler observes policies for both, making the change seamless for policy admins. BUG=334602 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287022

Patch Set 1 #

Total comments: 20

Patch Set 2 : Minor fixes. #

Total comments: 8

Patch Set 3 : More fixes. #

Patch Set 4 : Fix policy_test_cases. #

Patch Set 5 : Rebase and increment policy id. #

Patch Set 6 : Rebase and increment policy id yet again. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -13 lines) Patch
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/policy/network_prediction_policy_handler.h View 3 chunks +9 lines, -9 lines 0 comments Download
A chrome/browser/policy/network_prediction_policy_handler.cc View 1 2 1 chunk +94 lines, -0 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 3 chunks +34 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 3 4 5 2 chunks +43 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Bence
Alexei: please review tools/metrics/histograms/histograms.xml. Joao: please review everything else. Thank you both.
6 years, 4 months ago (2014-07-30 02:32:45 UTC) #1
Joao da Silva
Looks good, just a couple of minor comments. https://codereview.chromium.org/431493003/diff/1/chrome/browser/policy/network_prediction_policy_handler.cc File chrome/browser/policy/network_prediction_policy_handler.cc (right): https://codereview.chromium.org/431493003/diff/1/chrome/browser/policy/network_prediction_policy_handler.cc#newcode10 chrome/browser/policy/network_prediction_policy_handler.cc:10: #include ...
6 years, 4 months ago (2014-07-30 07:57:33 UTC) #2
Bence
What are the current/upcoming chrome_os and android versions (for policy_templates.json)? PolicyPrefIndicatorTestInstance/PolicyPrefIndicatorTest.CheckPolicyIndicators fails. I am working ...
6 years, 4 months ago (2014-07-30 13:19:32 UTC) #3
Joao da Silva
lgtm after fixing the remaining comments https://codereview.chromium.org/431493003/diff/1/chrome/test/data/policy/policy_test_cases.json File chrome/test/data/policy/policy_test_cases.json (right): https://codereview.chromium.org/431493003/diff/1/chrome/test/data/policy/policy_test_cases.json#newcode129 chrome/test/data/policy/policy_test_cases.json:129: { "pref": "net.network_prediction_options", ...
6 years, 4 months ago (2014-07-30 13:33:32 UTC) #4
Bence
Alexei: PTAL. https://codereview.chromium.org/431493003/diff/1/chrome/test/data/policy/policy_test_cases.json File chrome/test/data/policy/policy_test_cases.json (right): https://codereview.chromium.org/431493003/diff/1/chrome/test/data/policy/policy_test_cases.json#newcode129 chrome/test/data/policy/policy_test_cases.json:129: { "pref": "net.network_prediction_options", On 2014/07/30 13:33:32, Joao ...
6 years, 4 months ago (2014-07-31 20:41:12 UTC) #5
Alexei Svitkine (slow)
histograms lgtm
6 years, 4 months ago (2014-07-31 20:43:43 UTC) #6
Bence
The CQ bit was checked by bnc@chromium.org
6 years, 4 months ago (2014-08-01 00:16:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bnc@chromium.org/431493003/100001
6 years, 4 months ago (2014-08-01 00:19:59 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-01 09:35:55 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-01 17:00:46 UTC) #10
Message was sent while issue was closed.
Change committed as 287022

Powered by Google App Engine
This is Rietveld 408576698