|
Update NetworkStateNotifier to use message_center.
This is dependent on https://codereview.chromium.org/22796014/
Notes:
* This CL moves the "Cellular Activated" notification out
of DataPromoNotification into NetworkStateNotifier so
that Ash now handles all network notifications except for
"Google Chrome will use mobile data..." + any promo message
(which has Chrome dependencies).
* The "Cellular Activated" notification should now work
correctly for any number of activating networks.
* The logic for "Out of Credits" has been simplified,
which should also fix a case where it was not showing
up when the flag was set but the network was never
connected to (a useful case to be notified).
BUG= 271546
For ash.gyp:
TBR=jamescook@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219232
Total comments: 12
Total comments: 23
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+265 lines, -636 lines) |
Patch |
 |
M |
ash/ash.gyp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/ash_chromeos_strings.grdp
|
View
|
1
2
3
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/network_connect.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/network_connect.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+32 lines, -19 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/network_observer.h
|
View
|
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
 |
D |
ash/system/chromeos/network/network_observer.cc
|
View
|
|
1 chunk |
+0 lines, -35 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/network_state_notifier.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/network_state_notifier.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+131 lines, -78 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/network_state_notifier_unittest.cc
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
D |
ash/system/chromeos/network/network_tray_delegate.h
|
View
|
|
1 chunk |
+0 lines, -24 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_network.h
|
View
|
|
3 chunks |
+0 lines, -23 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_network.cc
|
View
|
|
10 chunks |
+0 lines, -212 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray_notifier.h
|
View
|
|
3 chunks |
+1 line, -9 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray_notifier.cc
|
View
|
|
1 chunk |
+0 lines, -25 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/status/data_promo_notification.h
|
View
|
|
3 chunks |
+1 line, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/status/data_promo_notification.cc
|
View
|
|
10 chunks |
+43 lines, -118 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/system/ash_system_tray_delegate.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/message_center/notification.h
|
View
|
1
2
3
4
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/notification.cc
|
View
|
1
2
3
4
|
2 chunks |
+23 lines, -0 lines |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|