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

Side by Side Diff: net/base/network_change_notifier_factory_chromeos.cc

Issue 11469044: Implement new network change notifier that uses NetworkStateHandler (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Move to net/base Created 8 years 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
(Empty)
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.
4
5 #include "net/base/network_change_notifier_factory_chromeos.h"
6
7 #include "net/base/network_change_notifier_chromeos.h"
8
9 namespace net {
10
11 namespace {
12
13 NetworkChangeNotifierChromeos* g_network_change_notifier_chromeos = NULL;
14
15 } // namespace
16
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;
22 }
23
24 // static
25 NetworkChangeNotifierChromeos*
26 NetworkChangeNotifierFactoryChromeos::GetInstance() {
27 return g_network_change_notifier_chromeos;
28 }
29
30 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698