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

Unified Diff: chromecast/net/network_change_notifier_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: Address/incorporate review comments Created 6 years, 6 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
« no previous file with comments | « chromecast/common/cast_paths.cc ('k') | chromecast/net/network_change_notifier_cast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/net/network_change_notifier_cast.h
diff --git a/chromecast/net/network_change_notifier_cast.h b/chromecast/net/network_change_notifier_cast.h
new file mode 100644
index 0000000000000000000000000000000000000000..9ff362727e6bc5b28f9a82c6570981d3e0e15f49
--- /dev/null
+++ b/chromecast/net/network_change_notifier_cast.h
@@ -0,0 +1,34 @@
+// Copyright 2014 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_CAST_H_
+#define CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_CAST_H_
+
+#include "base/compiler_specific.h"
+#include "base/macros.h"
+#include "net/base/network_change_notifier.h"
+
+namespace net {
Ryan Sleevi 2014/07/02 23:55:51 These shouldn't be in the net namespace.
lcwu1 2014/07/03 01:48:59 Done.
+
+// TODO(lcwu): http://crbug.com/391064. This is a place holder for
+// cast-specific NetworkChangeNotifier implementation. The actual
+// implementation of this class will come in later CLs.
+class NetworkChangeNotifierCast : public NetworkChangeNotifier {
+ public:
+ NetworkChangeNotifierCast();
+ virtual ~NetworkChangeNotifierCast();
+
+ // net::NetworkChangeNotifier implementation:
+ virtual NetworkChangeNotifier::ConnectionType
+ GetCurrentConnectionType() const OVERRIDE;
+
+ private:
+ friend class NetworkChangeNotifierCastTest;
+
+ DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierCast);
+};
+
+} // namespace net
+
+#endif // CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_CAST_H_
« no previous file with comments | « chromecast/common/cast_paths.cc ('k') | chromecast/net/network_change_notifier_cast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698