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

Unified Diff: chrome/browser/extensions/api/mdns/mdns_api.cc

Issue 671783002: Reverting instrumentations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: chrome/browser/extensions/api/mdns/mdns_api.cc
diff --git a/chrome/browser/extensions/api/mdns/mdns_api.cc b/chrome/browser/extensions/api/mdns/mdns_api.cc
index 572ae1eec7b08e50906f96f94aeda0314b75d1c0..9bc7fb3f160b6e430c2c49fc8f4e04aaa991b40c 100644
--- a/chrome/browser/extensions/api/mdns/mdns_api.cc
+++ b/chrome/browser/extensions/api/mdns/mdns_api.cc
@@ -7,7 +7,6 @@
#include <vector>
#include "base/lazy_instance.h"
-#include "base/profiler/scoped_profile.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/common/extensions/api/mdns.h"
@@ -70,10 +69,6 @@ DnsSdRegistry* MDnsAPI::dns_sd_registry() {
}
void MDnsAPI::OnListenerAdded(const EventListenerInfo& details) {
- // TODO(vadimt): Remove ScopedProfile below once crbug.com/417106 is fixed.
- tracked_objects::ScopedProfile tracking_profile(
- FROM_HERE_WITH_EXPLICIT_FUNCTION("MDnsAPI::OnListenerAdded"));
-
DCHECK(thread_checker_.CalledOnValidThread());
UpdateMDnsListeners(details);
}

Powered by Google App Engine
This is Rietveld 408576698