Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Unified Diff: extensions/renderer/scripts_run_info.h

Issue 2089333002: [Extensions] Add renderer-side logic to short circuit activity logging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Guard adding dom activity loggers Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/renderer/script_injection_manager.cc ('k') | extensions/renderer/scripts_run_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/scripts_run_info.h
diff --git a/extensions/renderer/scripts_run_info.h b/extensions/renderer/scripts_run_info.h
index ebd51dfa43bcf486e793f622e6adb04d2544e4fa..6156eeb99be77ce74a67601e6cbaf8dda378e470 100644
--- a/extensions/renderer/scripts_run_info.h
+++ b/extensions/renderer/scripts_run_info.h
@@ -41,8 +41,9 @@ struct ScriptsRunInfo {
// The elapsed time since the ScriptsRunInfo was constructed.
base::ElapsedTimer timer;
- // Log information about a given script run.
- void LogRun();
+ // Log information about a given script run. If |send_script_activity| is
+ // true, this also informs the browser of the script run.
+ void LogRun(bool send_script_activity);
private:
// The routinig id to use to notify the browser of any injections. Since the
« no previous file with comments | « extensions/renderer/script_injection_manager.cc ('k') | extensions/renderer/scripts_run_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698