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

Unified Diff: chrome/browser/chromeos/network_message_observer.h

Issue 10407080: Add NetworkNotificationView to tray_network. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix NOTREACHED Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/tray/system_tray_bubble.cc ('k') | chrome/browser/chromeos/network_message_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/network_message_observer.h
diff --git a/chrome/browser/chromeos/network_message_observer.h b/chrome/browser/chromeos/network_message_observer.h
index 8b48c272778091ebc8dffaf1af0a70c508f9f96e..42fa89945adb70038d227322744e1d9c991e961f 100644
--- a/chrome/browser/chromeos/network_message_observer.h
+++ b/chrome/browser/chromeos/network_message_observer.h
@@ -13,7 +13,6 @@
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/chromeos/cros/network_library.h"
-#include "chrome/browser/chromeos/notifications/system_notification.h"
class Profile;
@@ -22,6 +21,8 @@ namespace chromeos {
// The network message observer displays a system notification for network
// messages.
+class NetworkMessageNotification;
+
class NetworkMessageObserver
: public NetworkLibrary::NetworkManagerObserver,
public NetworkLibrary::CellularDataPlanObserver,
@@ -66,11 +67,11 @@ class NetworkMessageObserver
CellularNetwork::DataLeft cellular_data_left_;
// Notification for connection errors
- SystemNotification notification_connection_error_;
+ scoped_ptr<NetworkMessageNotification> notification_connection_error_;
// Notification for showing low data warning
- SystemNotification notification_low_data_;
+ scoped_ptr<NetworkMessageNotification> notification_low_data_;
// Notification for showing no data warning
- SystemNotification notification_no_data_;
+ scoped_ptr<NetworkMessageNotification> notification_no_data_;
DISALLOW_COPY_AND_ASSIGN(NetworkMessageObserver);
};
« no previous file with comments | « ash/system/tray/system_tray_bubble.cc ('k') | chrome/browser/chromeos/network_message_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698