DescriptionDo not log Extensions.InjectedScriptExecutionTime histograms if script not executed
If a script injection is cancelled (e.g. context destroyed before
execution), ScriptInjectionCallback::willExecute() is not called but
::completed() is called. In such cases, execution time shouldn't be
reported.
BUG=708897
Review-Url: https://codereview.chromium.org/2797423002
Cr-Commit-Position: refs/heads/master@{#462746}
Committed: https://chromium.googlesource.com/chromium/src/+/4178f50345634d8ff3c1dfb38ea84f490f5b7132
Patch Set 1 #
Total comments: 6
Patch Set 2 : comments addressed #
Messages
Total messages: 19 (14 generated)
|