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

Side by Side Diff: net/android/network_change_notifier_factory_android.cc

Issue 1047103002: Avoid initial NetworkChangeNotifier OnDNSChanged() signal on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert an accidental test enabling Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/android/network_change_notifier_factory_android.h" 5 #include "net/android/network_change_notifier_factory_android.h"
6 6
7 #include "net/android/network_change_notifier_android.h" 7 #include "net/android/network_change_notifier_android.h"
8 #include "net/android/network_change_notifier_delegate_android.h" 8 #include "net/android/network_change_notifier_delegate_android.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 NetworkChangeNotifierFactoryAndroid::NetworkChangeNotifierFactoryAndroid() {} 12 NetworkChangeNotifierFactoryAndroid::NetworkChangeNotifierFactoryAndroid() {}
13 13
14 NetworkChangeNotifierFactoryAndroid::~NetworkChangeNotifierFactoryAndroid() {} 14 NetworkChangeNotifierFactoryAndroid::~NetworkChangeNotifierFactoryAndroid() {}
15 15
16 NetworkChangeNotifier* NetworkChangeNotifierFactoryAndroid::CreateInstance() { 16 NetworkChangeNotifier* NetworkChangeNotifierFactoryAndroid::CreateInstance() {
17 return new NetworkChangeNotifierAndroid(&delegate_); 17 return new NetworkChangeNotifierAndroid(&delegate_, nullptr);
18 } 18 }
19 19
20 } // namespace net 20 } // namespace net
OLDNEW
« no previous file with comments | « net/android/network_change_notifier_android_unittest.cc ('k') | net/base/network_change_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698