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

Unified Diff: chromecast/net/network_change_notifier_factory_cast.h

Issue 223143003: Initial checkin of chromecast content embedder (cast_shell) and related build scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Additional presubmit clean-up. Created 6 years, 5 months 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: chromecast/net/network_change_notifier_factory_cast.h
diff --git a/chromecast/net/network_change_notifier_factory_cast.h b/chromecast/net/network_change_notifier_factory_cast.h
new file mode 100644
index 0000000000000000000000000000000000000000..6ffa709c22a1fd057fbd497c4ae95ae004b6a838
--- /dev/null
+++ b/chromecast/net/network_change_notifier_factory_cast.h
@@ -0,0 +1,33 @@
+// Copyright 2014 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 CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_
+#define CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_
+
+#include "base/compiler_specific.h"
+#include "base/macros.h"
+#include "net/base/network_change_notifier_factory.h"
+
+namespace chromecast {
+
+class NetworkChangeNotifierCast;
+
+class NetworkChangeNotifierFactoryCast
+ : public net::NetworkChangeNotifierFactory {
+ public:
+ NetworkChangeNotifierFactoryCast() {}
+ virtual ~NetworkChangeNotifierFactoryCast();
+
+ // net::NetworkChangeNotifierFactory implementation:
+ virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE;
+
+ static NetworkChangeNotifierCast* GetInstance();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierFactoryCast);
+};
+
+} // namespace chromecast
+
+#endif // CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_

Powered by Google App Engine
This is Rietveld 408576698