|
|
Add logging for slow device events, limit network UI update rate
This CL does the following:
* Cleans up some redundant code in the network UI.
* Disassociates Network UI updates from dbus calls and limits the
frequency of UI updates by using a timer to trigger updates.
* Adds NET_LOG_IF_SLOW to device_event_log.h to log slow network events.
Note: I also did virtual/override cleanup while in there and ran clang format on the changed files.
BUG= 441650
Committed: https://crrev.com/9cfc3f8f868ec7c38f1e5025554c0caf837750a5
Cr-Commit-Position: refs/heads/master@{#309083}
Total comments: 16
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+308 lines, -316 lines) |
Patch |
 |
M |
ash/system/chromeos/network/network_detailed_view.h
|
View
|
|
1 chunk |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/network_state_list_detailed_view.h
|
View
|
|
2 chunks |
+14 lines, -22 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/network_state_list_detailed_view.cc
|
View
|
|
18 chunks |
+54 lines, -84 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_network.h
|
View
|
|
1 chunk |
+12 lines, -16 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_network.cc
|
View
|
|
10 chunks |
+43 lines, -77 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_network_state_observer.h
|
View
|
1
|
3 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_network_state_observer.cc
|
View
|
1
|
4 chunks |
+32 lines, -16 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_vpn.h
|
View
|
|
1 chunk |
+10 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/network/tray_vpn.cc
|
View
|
|
6 chunks |
+8 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chromeos/device_event_log.h
|
View
|
1
2
3
|
4 chunks |
+33 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/device_event_log.cc
|
View
|
1
2
3
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/network_state_handler.cc
|
View
|
1
2
|
8 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/chromeos/DEPS
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
ui/chromeos/network/network_list.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/chromeos/network/network_list.cc
|
View
|
1
2
|
11 chunks |
+49 lines, -39 lines |
0 comments
|
Download
|
Total messages: 14 (4 generated)
|