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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_CAST_H_
6 #define CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_CAST_H_
7
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "net/base/network_change_notifier.h"
11
12 namespace chromecast {
13
14 // TODO(lcwu): http://crbug.com/391064. This is a place holder for
15 // cast-specific NetworkChangeNotifier implementation. The actual
16 // implementation of this class will come in later CLs.
17 class NetworkChangeNotifierCast : public net::NetworkChangeNotifier {
18 public:
19 NetworkChangeNotifierCast();
20 virtual ~NetworkChangeNotifierCast();
21
22 // net::NetworkChangeNotifier implementation:
23 virtual net::NetworkChangeNotifier::ConnectionType
24 GetCurrentConnectionType() const OVERRIDE;
25
26 private:
27 friend class NetworkChangeNotifierCastTest;
28
29 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierCast);
30 };
31
32 } // namespace chromecast
33
34 #endif // CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_CAST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698