Manual fixups for scoped_refptr operator T* removal in sync/
[chromium-blink-merge.git] / chromecast / net / network_change_notifier_factory_cast.cc
blob1c41171119f47b60ce8e8a94ae2cc2d07cdf5ffa
1 // Copyright 2014 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 "chromecast/net/network_change_notifier_factory_cast.h"
7 #include "base/lazy_instance.h"
8 #include "chromecast/net/network_change_notifier_cast.h"
10 namespace chromecast {
12 namespace {
14 base::LazyInstance<NetworkChangeNotifierCast> g_network_change_notifier_cast =
15 LAZY_INSTANCE_INITIALIZER;
17 } // namespace
19 net::NetworkChangeNotifier* NetworkChangeNotifierFactoryCast::CreateInstance() {
20 return g_network_change_notifier_cast.Pointer();
23 NetworkChangeNotifierFactoryCast::~NetworkChangeNotifierFactoryCast() {
26 // static
27 NetworkChangeNotifierCast* NetworkChangeNotifierFactoryCast::GetInstance() {
28 return g_network_change_notifier_cast.Pointer();
31 } // namespace chromecast