|
Show a notification when an ephemeral app consumes excessive disk space
This patch introduces monitoring of the storage usage of extensions
and apps that are granted unlimited storage. A notification is shown
when persistent storage usage exceeds a threshold.
Monitoring is implemented for all extensions and apps, but initially
only enabled for ephemeral apps. Ephemeral apps have a lower threshold.
BUG= 347801
TEST=browser_tests (ExtensionStorageMonitor.*)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262692
Total comments: 17
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1101 lines, -13 lines) |
Patch |
 |
M |
chrome/app/generated_resources.grd
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/browser_context_keyed_service_factories.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/extension_storage_monitor.h
|
View
|
1
2
3
4
5
|
1 chunk |
+101 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/extension_storage_monitor.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+453 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/extension_storage_monitor_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+204 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/extension_storage_monitor_factory.h
|
View
|
1
2
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/extension_storage_monitor_factory.cc
|
View
|
1
2
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_extensions.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/data/extensions/storage_monitor/write_data/background.js
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/data/extensions/storage_monitor/write_data/index.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/storage_monitor/write_data/index.js
|
View
|
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/data/extensions/storage_monitor/write_data/manifest.json
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/extension_prefs.h
|
View
|
1
2
3
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/extension_prefs.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+77 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/notification_delegate.h
|
View
|
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/notification_delegate.cc
|
View
|
1
|
2 chunks |
+32 lines, -0 lines |
0 comments
|
Download
|
Total messages: 28 (0 generated)
|