|
Regularize ownerships and lifecycle for storage monitor platform classes.
This change regularizes the construction lifecycle of the StorageMonitor implementations so that they always exist for the construction of the Profile, but don't issue any notifications until after that construction is complete. This allows profile-based listeners to be sure they're synchronized with the monitor.
It also regularizes ownership of all storage-monitor-related objects. The base platform-specific object is owned by the ChromeBrowserMain object, and owns all subsidiary platform-specific objects needed to monitor and/or deal with volumes of various types (i.e. MTP).
R=vandebo@chromium.org
BUG=None
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187332
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189078
Total comments: 4
Total comments: 4
Total comments: 8
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+108 lines, -58 lines) |
Patch |
|
M |
chrome/browser/chrome_browser_main_linux.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_browser_main_linux.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+5 lines, -29 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_browser_main_mac.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_browser_main_mac.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/storage_monitor/storage_monitor.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/storage_monitor/storage_monitor_chromeos.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/storage_monitor/storage_monitor_chromeos.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+23 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/storage_monitor/storage_monitor_linux.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/storage_monitor/storage_monitor_linux.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
4 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/storage_monitor/storage_monitor_mac.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/storage_monitor/storage_monitor_mac.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
4 chunks |
+21 lines, -6 lines |
0 comments
|
Download
|
Total messages: 33 (0 generated)
|