Index: net/base/network_change_notifier_factory_chromeos.cc |
diff --git a/net/base/network_change_notifier_factory_chromeos.cc b/net/base/network_change_notifier_factory_chromeos.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a321266b3f626dbad9506de5224166274b395276 |
--- /dev/null |
+++ b/net/base/network_change_notifier_factory_chromeos.cc |
@@ -0,0 +1,30 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "net/base/network_change_notifier_factory_chromeos.h" |
+ |
+#include "net/base/network_change_notifier_chromeos.h" |
+ |
+namespace net { |
+ |
+namespace { |
+ |
+NetworkChangeNotifierChromeos* g_network_change_notifier_chromeos = NULL; |
+ |
+} // namespace |
+ |
+net::NetworkChangeNotifier* |
+NetworkChangeNotifierFactoryChromeos::CreateInstance() { |
+ DCHECK(!g_network_change_notifier_chromeos); |
+ g_network_change_notifier_chromeos = new NetworkChangeNotifierChromeos(); |
+ return g_network_change_notifier_chromeos; |
+} |
+ |
+// static |
+NetworkChangeNotifierChromeos* |
+NetworkChangeNotifierFactoryChromeos::GetInstance() { |
+ return g_network_change_notifier_chromeos; |
+} |
+ |
+} // namespace chromeos |