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
3 // found in the LICENSE file.
5 #include "chromeos/network/network_change_notifier_factory_chromeos.h"
7 #include "chromeos/network/network_change_notifier_chromeos.h"
13 NetworkChangeNotifierChromeos
* g_network_change_notifier_chromeos
= NULL
;
17 net::NetworkChangeNotifier
*
18 NetworkChangeNotifierFactoryChromeos::CreateInstance() {
19 DCHECK(!g_network_change_notifier_chromeos
);
20 g_network_change_notifier_chromeos
= new NetworkChangeNotifierChromeos();
21 return g_network_change_notifier_chromeos
;
25 NetworkChangeNotifierChromeos
*
26 NetworkChangeNotifierFactoryChromeos::GetInstance() {
27 return g_network_change_notifier_chromeos
;
30 } // namespace chromeos