|
Add ApiActivityMonitor to decouple ActivityLog from low-level extensions code
* Introduce ApiActivityMonitor interface and make ActivityLog implement it
* Use it to replace EventRouter's one-off EventDispatchObserver, which was
kind of ugly.
* Use it for function call notifications from ExtensionFunctionDispatcher
This allows app_shell to use ExtensionFunctionDispatcher without an
ActivityLog and gets us another step closer to moving EFD into src/extensions.
BUG= 332986, 339595
TEST=browser_tests Extension*
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249324
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+165 lines, -123 lines) |
Patch |
 |
M |
apps/shell/browser/shell_extensions_browser_client.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
apps/shell/browser/shell_extensions_browser_client.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_database.h
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_log.h
|
View
|
1
2
|
3 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_log.cc
|
View
|
|
4 chunks |
+24 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/counting_policy_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/chrome_extensions_browser_client.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/chrome_extensions_browser_client.cc
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_function_dispatcher.cc
|
View
|
1
2
|
5 chunks |
+25 lines, -25 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api_activity_monitor.h
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/event_router.h
|
View
|
|
5 chunks |
+0 lines, -30 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/event_router.cc
|
View
|
|
7 chunks |
+35 lines, -48 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/extensions_browser_client.h
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/extensions.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|