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

Unified Diff: net/base/network_change_notifier_linux.cc

Issue 10910076: [net (linux)] Don't send OnIPAddressChanged when the AddressMap is first populated. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« net/base/address_tracker_linux.cc ('K') | « net/base/address_tracker_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_change_notifier_linux.cc
diff --git a/net/base/network_change_notifier_linux.cc b/net/base/network_change_notifier_linux.cc
index 8bc6cc83826e236a5092fca5df7629eb7b707a70..a3753a96c1e27df910e751ae88a95d21ddbedf3f 100644
--- a/net/base/network_change_notifier_linux.cc
+++ b/net/base/network_change_notifier_linux.cc
@@ -285,10 +285,10 @@ NetworkChangeNotifierLinux::Thread::~Thread() {
void NetworkChangeNotifierLinux::Thread::Init() {
network_manager_api_.Init();
+ address_tracker_.Init();
dns_config_service_ = DnsConfigService::CreateSystemService();
dns_config_service_->WatchConfig(
base::Bind(&NetworkChangeNotifier::SetDnsConfig));
- address_tracker_.Init();
}
void NetworkChangeNotifierLinux::Thread::CleanUp() {
« net/base/address_tracker_linux.cc ('K') | « net/base/address_tracker_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698