|
Expands the chrome.experimental.processes extension API.
Adds an onUpdated event that reports process metrics from the TaskManager,
and modifies the TaskManager to support multiple independent observers.
BUG= 32302
TEST=ExtensionApiTest.Processes browsertest
TEST=process_monitor sample extension
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=62458
Total comments: 21
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+959 lines, -194 lines) |
Patch |
|
M |
chrome/browser/extensions/extension_message_service.cc
|
View
|
2
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_processes_api.h
|
View
|
1
2
|
1 chunk |
+59 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_processes_api.cc
|
View
|
1
2
3
|
2 chunks |
+105 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_processes_api_constants.h
|
View
|
1
2
3
|
1 chunk |
+14 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_processes_api_constants.cc
|
View
|
1
2
3
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_processes_apitest.cc
|
View
|
|
1 chunk |
+31 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extensions_service.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/gtk/task_manager_gtk.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/task_manager/task_manager.h
|
View
|
2
3
|
5 chunks |
+31 lines, -21 lines |
0 comments
|
Download
|
|
M |
chrome/browser/task_manager/task_manager.cc
|
View
|
|
8 chunks |
+34 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/extension_api.json
|
View
|
1
2
|
2 chunks |
+42 lines, -7 lines |
0 comments
|
Download
|
|
A |
chrome/common/extensions/docs/examples/api/processes/process_monitor/icon.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
A |
chrome/common/extensions/docs/examples/api/processes/process_monitor/manifest.json
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/common/extensions/docs/examples/api/processes/process_monitor/popup.html
|
View
|
1
2
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/docs/experimental.processes.html
|
View
|
|
9 chunks |
+371 lines, -26 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/docs/samples.html
|
View
|
|
3 chunks |
+41 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/docs/samples.json
|
View
|
|
7 chunks |
+28 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/api_test/permissions/enabled/background.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
D |
chrome/test/data/extensions/api_test/processes/a.html
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
A + |
chrome/test/data/extensions/api_test/processes/api/a.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
chrome/test/data/extensions/api_test/processes/api/b.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
chrome/test/data/extensions/api_test/processes/api/manifest.json
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
chrome/test/data/extensions/api_test/processes/api/test.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
chrome/test/data/extensions/api_test/processes/api/test.js
|
View
|
|
3 chunks |
+73 lines, -13 lines |
0 comments
|
Download
|
|
D |
chrome/test/data/extensions/api_test/processes/b.html
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
D |
chrome/test/data/extensions/api_test/processes/manifest.json
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
A |
chrome/test/data/extensions/api_test/processes/onupdated/background.html
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/test/data/extensions/api_test/processes/onupdated/manifest.json
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
D |
chrome/test/data/extensions/api_test/processes/test.html
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/api_test/processes/test.js
|
View
|
2
3
|
1 chunk |
+0 lines, -91 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|