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

Unified Diff: net/base/network_change_notifier_factory_chromeos.h

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 side-by-side diff with in-line comments
Download patch
Index: net/base/network_change_notifier_factory_chromeos.h
diff --git a/net/base/network_change_notifier_factory_chromeos.h b/net/base/network_change_notifier_factory_chromeos.h
new file mode 100644
index 0000000000000000000000000000000000000000..aba3118a5c649e72019bedf4b7fc18e905a98c6c
--- /dev/null
+++ b/net/base/network_change_notifier_factory_chromeos.h
@@ -0,0 +1,29 @@
+// 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.
+
+#ifndef CHROMEOS_NETWORK_CONNECTION_CHANGE_NOTIFIER_FACTORY_H_
+#define CHROMEOS_NETWORK_CONNECTION_CHANGE_NOTIFIER_FACTORY_H_
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "net/base/network_change_notifier_factory.h"
+
+namespace net {
+
+class NetworkChangeNotifierChromeos;
+
+class NET_EXPORT NetworkChangeNotifierFactoryChromeos :
+ public net::NetworkChangeNotifierFactory {
+ public:
+ NetworkChangeNotifierFactoryChromeos() {}
+
+ // net::NetworkChangeNotifierFactory overrides.
+ virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE;
+
+ static NetworkChangeNotifierChromeos* GetInstance();
+};
+
+} // namespace net
+
+#endif // CHROMEOS_NETWORK_CONNECTION_CHANGE_NOTIFIER_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698