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); |
}; |