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

Unified Diff: chromeos/network/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: Fix clang warning (missing virtual on OVERRIDE) 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: chromeos/network/network_change_notifier_factory_chromeos.h
diff --git a/chromeos/network/network_change_notifier_factory_chromeos.h b/chromeos/network/network_change_notifier_factory_chromeos.h
new file mode 100644
index 0000000000000000000000000000000000000000..51366da215834befe24d5ae31a583c62fbde2a45
--- /dev/null
+++ b/chromeos/network/network_change_notifier_factory_chromeos.h
@@ -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.
+
+#ifndef CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_FACTORY_CHROMEOS_H_
+#define CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_FACTORY_CHROMEOS_H_
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "chromeos/chromeos_export.h"
+#include "net/base/network_change_notifier_factory.h"
+
+namespace chromeos {
+
+class NetworkChangeNotifierChromeos;
+
+class CHROMEOS_EXPORT NetworkChangeNotifierFactoryChromeos
+ : public net::NetworkChangeNotifierFactory {
+ public:
+ NetworkChangeNotifierFactoryChromeos() {}
+
+ // net::NetworkChangeNotifierFactory overrides.
+ virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE;
+
+ static NetworkChangeNotifierChromeos* GetInstance();
+};
+
+} // namespace chromeos
+
+#endif // CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_FACTORY_CHROMEOS_H_

Powered by Google App Engine
This is Rietveld 408576698