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

Unified Diff: components/translate/core/browser/translate_script.cc

Issue 701463004: Removing instrumentations for task URLFetcherCore::OnCompletedURLRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more removal. Created 6 years, 1 month 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
Index: components/translate/core/browser/translate_script.cc
diff --git a/components/translate/core/browser/translate_script.cc b/components/translate/core/browser/translate_script.cc
index caa60eeb1f81e6a9a6cedf9a8e90a156e1c40a48..8c253202205305f9c76d2a6bc9d48a2ccda0b219 100644
--- a/components/translate/core/browser/translate_script.cc
+++ b/components/translate/core/browser/translate_script.cc
@@ -118,11 +118,6 @@ void TranslateScript::Request(const RequestCallback& callback) {
void TranslateScript::OnScriptFetchComplete(
int id, bool success, const std::string& data) {
- // TODO(vadimt): Remove ScopedTracker below once crbug.com/422577 is fixed.
- tracked_objects::ScopedTracker tracking_profile(
- FROM_HERE_WITH_EXPLICIT_FUNCTION(
- "422577 TranslateScript::OnScriptFetchComplete"));
-
DCHECK_EQ(kFetcherId, id);
scoped_ptr<const TranslateURLFetcher> delete_ptr(fetcher_.release());

Powered by Google App Engine
This is Rietveld 408576698