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

Unified Diff: chrome/browser/extensions/api/input_ime/input_ime_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/input_ime/input_ime_api.cc
diff --git a/chrome/browser/extensions/api/input_ime/input_ime_api.cc b/chrome/browser/extensions/api/input_ime/input_ime_api.cc
index b1ea5018c33ac63e011b913fabaaf6727afa6b32..abef9a0ec28f4268e03862e020305611684f2e62 100644
--- a/chrome/browser/extensions/api/input_ime/input_ime_api.cc
+++ b/chrome/browser/extensions/api/input_ime/input_ime_api.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/extensions/api/input_ime/input_ime_api.h"
-#include "base/profiler/scoped_profile.h"
#include "base/strings/string_number_conversions.h"
#include "base/values.h"
#include "chrome/browser/chromeos/input_method/input_method_engine.h"
@@ -852,10 +851,6 @@ void InputImeAPI::OnExtensionUnloaded(content::BrowserContext* browser_context,
}
void InputImeAPI::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("InputImeAPI::OnListenerAdded"));
-
InputMethodEngineInterface* engine =
input_ime_event_router()->GetActiveEngine(details.extension_id);
// Notifies the IME extension for IME ready with onActivate/onFocus events.
« no previous file with comments | « chrome/browser/extensions/api/idle/idle_manager.cc ('k') | chrome/browser/extensions/api/management/management_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698