|
|
[Extensions] Add renderer-side logic to short circuit activity logging
Revision a84983c58d89dbb83fc97eb24ad70f5780375dd9 added logic to short-
circuit activity logging on the browser side so that we don't log
anything if the user doesn't have an activity-logging extension enabled.
This patch adds logic to the renderer side to avoid adding the
DOMActivityLoggers and APIActivityLoggers that would generate additional
IPCs sent to the browser, in addition to requiring each DOM modification
in the given world to be logged. Now, each of these is only logged in
the case of the user having an active activity-logging extension.
BUG= 620359
Committed: https://crrev.com/6fba7ec7467f6f6b3a48636a6006425b5f748f5a
Cr-Commit-Position: refs/heads/master@{#401868}
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+165 lines, -55 lines) |
Patch |
 |
M |
chrome/browser/extensions/activity_log/activity_log.h
|
View
|
1
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_log.cc
|
View
|
|
4 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/chrome_extensions_browser_client.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/chrome_extensions_browser_client.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/chrome_extension_message_filter.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/extensions_browser_client.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/extensions_browser_client.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/renderer_startup_helper.cc
|
View
|
|
1 chunk |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/common/extension_messages.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/api_activity_logger.h
|
View
|
|
2 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/api_activity_logger.cc
|
View
|
|
2 chunks |
+13 lines, -4 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/dispatcher.h
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/dispatcher.cc
|
View
|
1
2
|
5 chunks |
+20 lines, -5 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/script_injection.h
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/renderer/script_injection.cc
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/script_injection_manager.h
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/script_injection_manager.cc
|
View
|
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/scripts_run_info.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/scripts_run_info.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/user_script_set.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/user_script_set.cc
|
View
|
|
4 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/user_script_set_manager.h
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/user_script_set_manager.cc
|
View
|
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
Total messages: 19 (7 generated)
|