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

Side by Side Diff: chrome/browser/chromeos/net/network_change_notifier_chromeos.h

Issue 7029019: Added ChromeOS-specific NetworkChangeNotifier specialization that is wired directly to flimflam. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 CHROME_BROWSER_CHROMEOS_NET_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_NET_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h"
oshima 2011/05/17 17:33:05 not used?
zel 2011/05/18 00:43:33 Done.
11 #include "chrome/browser/chromeos/cros/network_library.h"
12 #include "net/base/network_change_notifier.h"
13
14 namespace net {
15
16 class NetworkChangeNotifierCros
oshima 2011/05/17 17:33:05 NetworkChangeNotifierChromeos (to be sync with fil
17 : public NetworkChangeNotifier,
18 public chromeos::NetworkLibrary::NetworkManagerObserver {
19 public:
20 NetworkChangeNotifierCros();
21
22 private:
23 bool connected_;
24 bool has_active_network_;
25 chromeos::ConnectivityState connectivity_state_;
26 std::string service_path_;
27 std::string ip_address_;
oshima 2011/05/17 17:33:05 data member after methods. Please add description.
28
29 virtual ~NetworkChangeNotifierCros();
30
31 // NetworkChangeNotifier overrides.
32 virtual bool IsCurrentlyOffline() const;
oshima 2011/05/17 17:33:05 OVERRIDE
zel 2011/05/18 00:43:33 Done.
33
34 // NetworkManagerObserver overrides:
35 virtual void OnNetworkManagerChanged(chromeos::NetworkLibrary* obj);
oshima 2011/05/17 17:33:05 OVERRIDE
zel 2011/05/18 00:43:33 Done.
36
37 // Updates data members that keep the track the network stack state.
38 void UpdateNetworkState(chromeos::NetworkLibrary* cros);
39
40 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierCros);
41 };
42
43 } // namespace net
44
45 #endif // CHROME_BROWSER_CHROMEOS_NET_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698