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

Unified Diff: extensions/renderer/script_injection.cc

Issue 2757833002: Deprecate Extensions.InjectScriptTime histogram (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/script_injection.cc
diff --git a/extensions/renderer/script_injection.cc b/extensions/renderer/script_injection.cc
index b584f1181d6a161b7d82f5b0ecb7ddea7898e9d6..519dce0ba520efa0ae83a0ab0ad8b745364942e7 100644
--- a/extensions/renderer/script_injection.cc
+++ b/extensions/renderer/script_injection.cc
@@ -316,9 +316,6 @@ void ScriptInjection::InjectJs(std::set<std::string>* executing_scripts,
world_id, &sources.front(), sources.size(), is_user_gesture, option,
callback.release());
}
-
- if (injection_host_->id().type() == HostID::EXTENSIONS)
- UMA_HISTOGRAM_TIMES("Extensions.InjectScriptTime", exec_timer.Elapsed());
}
void ScriptInjection::OnJsInjectionCompleted(
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698