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

Unified Diff: chrome/browser/chromeos/net/connectivity_state_helper_observer.h

Issue 12729002: Add a unified observer to replace NetworkManagerObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 7 years, 9 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: chrome/browser/chromeos/net/connectivity_state_helper_observer.h
diff --git a/chrome/browser/chromeos/net/connectivity_state_helper_observer.h b/chrome/browser/chromeos/net/connectivity_state_helper_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..4fe943e6808724fd09edc4d9b92f3818045a2837
--- /dev/null
+++ b/chrome/browser/chromeos/net/connectivity_state_helper_observer.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2013 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 CHROME_BROWSER_CHROMEOS_NET_CONNECTIVITY_STATE_HELPER_OBSERVER_H_
+#define CHROME_BROWSER_CHROMEOS_NET_CONNECTIVITY_STATE_HELPER_OBSERVER_H_
+
+namespace chromeos {
+
+// A common observer interface used by the ConnectivityStateHelper object to
+// relay observing events received from the (older) NetworkLibrary or the (new)
+// NetworkStateHandler implementations.
+class ConnectivityStateHelperObserver {
+ public:
+ // Called when there's a change on the connection manager.
+ virtual void NetworkManagerChanged() = 0;
+};
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_NET_CONNECTIVITY_STATE_HELPER_OBSERVER_H_
« no previous file with comments | « chrome/browser/chromeos/net/connectivity_state_helper.cc ('k') | chrome/browser/chromeos/net/mock_connectivity_state_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698