| Index: extensions/renderer/script_injection.h
|
| diff --git a/extensions/renderer/script_injection.h b/extensions/renderer/script_injection.h
|
| index a7a44b6272148dac7aa064e0807d1ca20a452f63..7b501f40e1da0bd0240760647cfd708a6616071c 100644
|
| --- a/extensions/renderer/script_injection.h
|
| +++ b/extensions/renderer/script_injection.h
|
| @@ -55,7 +55,8 @@ class ScriptInjection {
|
| ScriptInjection(std::unique_ptr<ScriptInjector> injector,
|
| content::RenderFrame* render_frame,
|
| std::unique_ptr<const InjectionHost> injection_host,
|
| - UserScript::RunLocation run_location);
|
| + UserScript::RunLocation run_location,
|
| + bool log_activity);
|
| ~ScriptInjection();
|
|
|
| // Try to inject the script at the |current_location|. This returns
|
| @@ -132,6 +133,9 @@ class ScriptInjection {
|
| // Whether or not the injection successfully injected JS.
|
| bool did_inject_js_;
|
|
|
| + // Whether or not we should log dom activity for this injection.
|
| + bool log_activity_;
|
| +
|
| // Results storage.
|
| std::unique_ptr<base::Value> execution_result_;
|
|
|
|
|