• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2012 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "net/android/network_change_notifier_factory_android.h"
6 
7 #include "base/memory/ptr_util.h"
8 #include "net/android/network_change_notifier_android.h"
9 
10 namespace net {
11 
12 NetworkChangeNotifierFactoryAndroid::NetworkChangeNotifierFactoryAndroid() =
13     default;
14 
15 NetworkChangeNotifierFactoryAndroid::~NetworkChangeNotifierFactoryAndroid() =
16     default;
17 
18 std::unique_ptr<NetworkChangeNotifier>
CreateInstanceWithInitialTypes(NetworkChangeNotifier::ConnectionType,NetworkChangeNotifier::ConnectionSubtype)19 NetworkChangeNotifierFactoryAndroid::CreateInstanceWithInitialTypes(
20     NetworkChangeNotifier::ConnectionType /*initial_type*/,
21     NetworkChangeNotifier::ConnectionSubtype /*initial_subtype*/) {
22   return base::WrapUnique(new NetworkChangeNotifierAndroid(&delegate_));
23 }
24 
25 }  // namespace net
26