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

Issue 2172543003: Remove NetPrefObserver class and two prefs that do not do anything. (Closed)

Created:
4 years, 5 months ago by Bence
Modified:
4 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, tnagel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove NetPrefObserver class and two prefs that do not do anything. Remove DnsPrefetchingEnabled and DisableSpdy preferences. DnsPrefetchingEnabled was not doing anything for about year now. DisableSpdy has not been doing anything since SPDY/3.1 support was removed recently. Also remove class NetPrefObserver, which does not do anything besides registering these two preferences. This is a follow-up to https://crrev.com/2140733002. BUG=624095, 526773, 334602 Committed: https://crrev.com/a376ed55e15fc38bb8d22fe164fb275882a37554 Cr-Commit-Position: refs/heads/master@{#407313}

Patch Set 1 #

Patch Set 2 : Fix compile error on ChromeOS. #

Total comments: 2

Patch Set 3 : Re: #12. #

Total comments: 1

Patch Set 4 : Remove Android accessors to obsolete preference. #

Patch Set 5 : Re: #17. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -156 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java View 1 2 3 3 chunks +0 lines, -18 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/PrivacyPreferencesManager.java View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/android/preferences/pref_service_bridge.cc View 1 2 3 2 chunks +0 lines, -18 lines 0 comments Download
M chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc View 1 3 chunks +9 lines, -7 lines 0 comments Download
D chrome/browser/net/net_pref_observer.h View 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/browser/net/net_pref_observer.cc View 1 chunk +0 lines, -34 lines 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_browsertest.cc View 2 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 5 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 2 chunks +0 lines, -13 lines 2 comments Download
M components/policy/resources/policy_templates.json View 1 2 3 4 3 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 36 (24 generated)
Bence
Misha: PTAL at chrome/browser/net/ Julian: PTAL at chrome/browser/chromeos/policy/, at chrome/browser/policy/cloud/, and at components/policy/. Mr4D: PTAL ...
4 years, 5 months ago (2016-07-21 19:21:23 UTC) #10
Mr4D (OOO till 08-26)
profiles - lgtm
4 years, 5 months ago (2016-07-21 19:39:22 UTC) #11
gab
https://codereview.chromium.org/2172543003/diff/20001/chrome/browser/net/net_pref_observer.cc File chrome/browser/net/net_pref_observer.cc (left): https://codereview.chromium.org/2172543003/diff/20001/chrome/browser/net/net_pref_observer.cc#oldcode33 chrome/browser/net/net_pref_observer.cc:33: registry->RegisterBooleanPref(prefs::kDisableSpdy, false); Move the definition of kDisableSpdy to browser_prefs.cc ...
4 years, 5 months ago (2016-07-21 21:26:43 UTC) #12
pastarmovj
LGTM with a nit. P.S. If you need another review round due to large changes ...
4 years, 5 months ago (2016-07-22 08:06:25 UTC) #17
Bence
Gab: PTAL. Dan: PTAL at chrome/android/, chrome/browser/android/. This is part of https://crbug.com/526773. See https://crbug.com/401970 for ...
4 years, 5 months ago (2016-07-22 15:37:13 UTC) #24
gab
prefs lgtm https://codereview.chromium.org/2172543003/diff/80001/chrome/common/pref_names.cc File chrome/common/pref_names.cc (left): https://codereview.chromium.org/2172543003/diff/80001/chrome/common/pref_names.cc#oldcode460 chrome/common/pref_names.cc:460: // is functioning as per crbug.com/334602. Should ...
4 years, 5 months ago (2016-07-22 16:44:33 UTC) #25
gone
android/ lgtm
4 years, 5 months ago (2016-07-22 16:53:06 UTC) #27
mef
On 2016/07/22 16:53:06, dfalcantara wrote: > android/ lgtm chrome/browser/net/ lgtm
4 years, 5 months ago (2016-07-22 20:03:06 UTC) #28
Bence
Thank you all. https://codereview.chromium.org/2172543003/diff/80001/chrome/common/pref_names.cc File chrome/common/pref_names.cc (left): https://codereview.chromium.org/2172543003/diff/80001/chrome/common/pref_names.cc#oldcode460 chrome/common/pref_names.cc:460: // is functioning as per crbug.com/334602. ...
4 years, 5 months ago (2016-07-23 00:16:42 UTC) #31
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/2172543003/80001
4 years, 5 months ago (2016-07-23 00:16:58 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-23 00:20:47 UTC) #34
commit-bot: I haz the power
4 years, 5 months ago (2016-07-23 00:22:38 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a376ed55e15fc38bb8d22fe164fb275882a37554
Cr-Commit-Position: refs/heads/master@{#407313}

Powered by Google App Engine
This is Rietveld 408576698