OLD | NEW |
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 |
OLD | NEW |