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

Issue 10909034: [cros/net] Add DnsConfigService to NetworkChangeNotifierChromeos. (Closed)

Created:
8 years, 3 months ago by szym
Modified:
8 years, 3 months ago
Reviewers:
zel, sky
CC:
chromium-reviews, cbentzel+watch_chromium.org, nkostylev+watch_chromium.org, darin-cc_chromium.org, mmenke, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

[cros/net] Add DnsConfigService to NetworkChangeNotifierChromeos. Unlike DnsConfigServicePosix, the CrOS implementation uses signals from NetworkManager (via NetworkLibrary), rather than watching files in /etc. BUG=125877 TEST=Enable "Built-in Asynchronous DNS". Check if chrome://net-internals/#dns shows DNS config. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156055

Patch Set 1 #

Total comments: 4

Patch Set 2 : actually compiles #

Patch Set 3 : only call DnsConfigService::OnNetworkChange when we'd call OnIPAddressChange #

Patch Set 4 : add crbug reference for TODO #

Patch Set 5 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -9 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/net/network_change_notifier_chromeos.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/net/network_change_notifier_chromeos.cc View 1 2 3 4 4 chunks +30 lines, -0 lines 0 comments Download
M net/dns/dns_config_service_posix.h View 1 1 chunk +5 lines, -4 lines 0 comments Download
M net/dns/dns_config_service_posix.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/dns/dns_config_service_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
szym
I'm still working on building a bootable CrOS image, so I can't verify this will ...
8 years, 3 months ago (2012-09-04 04:42:10 UTC) #1
zel
http://codereview.chromium.org/10909034/diff/1/chrome/browser/chromeos/net/network_change_notifier_chromeos.cc File chrome/browser/chromeos/net/network_change_notifier_chromeos.cc (right): http://codereview.chromium.org/10909034/diff/1/chrome/browser/chromeos/net/network_change_notifier_chromeos.cc#newcode143 chrome/browser/chromeos/net/network_change_notifier_chromeos.cc:143: dns_config_service_->OnNetworkChange(); This will fire way too often for what ...
8 years, 3 months ago (2012-09-04 17:16:11 UTC) #2
szym
http://codereview.chromium.org/10909034/diff/1/chrome/browser/chromeos/net/network_change_notifier_chromeos.cc File chrome/browser/chromeos/net/network_change_notifier_chromeos.cc (right): http://codereview.chromium.org/10909034/diff/1/chrome/browser/chromeos/net/network_change_notifier_chromeos.cc#newcode143 chrome/browser/chromeos/net/network_change_notifier_chromeos.cc:143: dns_config_service_->OnNetworkChange(); On 2012/09/04 17:16:11, zel wrote: > This will ...
8 years, 3 months ago (2012-09-04 17:29:30 UTC) #3
zel
http://codereview.chromium.org/10909034/diff/1/chrome/browser/chromeos/net/network_change_notifier_chromeos.cc File chrome/browser/chromeos/net/network_change_notifier_chromeos.cc (right): http://codereview.chromium.org/10909034/diff/1/chrome/browser/chromeos/net/network_change_notifier_chromeos.cc#newcode143 chrome/browser/chromeos/net/network_change_notifier_chromeos.cc:143: dns_config_service_->OnNetworkChange(); On 2012/09/04 17:29:31, szym wrote: > On 2012/09/04 ...
8 years, 3 months ago (2012-09-05 19:26:59 UTC) #4
szym
http://codereview.chromium.org/10909034/diff/1/chrome/browser/chromeos/net/network_change_notifier_chromeos.cc File chrome/browser/chromeos/net/network_change_notifier_chromeos.cc (right): http://codereview.chromium.org/10909034/diff/1/chrome/browser/chromeos/net/network_change_notifier_chromeos.cc#newcode143 chrome/browser/chromeos/net/network_change_notifier_chromeos.cc:143: dns_config_service_->OnNetworkChange(); On 2012/09/05 19:26:59, zel wrote: > For an ...
8 years, 3 months ago (2012-09-05 19:48:29 UTC) #5
szym
I have carefully studied NetworkLibrary and realized that some refactoring will be needed to get ...
8 years, 3 months ago (2012-09-10 21:33:45 UTC) #6
zel
ok, even if this does not cover/detect all DNS config changes as you said, it ...
8 years, 3 months ago (2012-09-10 22:57:31 UTC) #7
szym
sky: please approve changes in chrome/browser/about_flags.cc
8 years, 3 months ago (2012-09-11 15:03:56 UTC) #8
sky
8 years, 3 months ago (2012-09-11 16:11:12 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld 408576698