Index: components/search_engines/template_url_service.cc |
diff --git a/components/search_engines/template_url_service.cc b/components/search_engines/template_url_service.cc |
index b56e1b5c8ffa114efd16ec203fbfa82c79367c39..6fbe239cc75b1edca74f2b9b5091f716fb3ef292 100644 |
--- a/components/search_engines/template_url_service.cc |
+++ b/components/search_engines/template_url_service.cc |
@@ -15,6 +15,7 @@ |
#include "base/memory/scoped_vector.h" |
#include "base/metrics/histogram.h" |
#include "base/prefs/pref_service.h" |
+#include "base/profiler/scoped_profile.h" |
#include "base/stl_util.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/string_split.h" |
@@ -825,6 +826,11 @@ scoped_ptr<TemplateURLService::Subscription> |
void TemplateURLService::OnWebDataServiceRequestDone( |
KeywordWebDataService::Handle h, |
const WDTypedResult* result) { |
+ // TODO(vadimt): Remove ScopedProfile below once crbug.com/422460 is fixed. |
+ tracked_objects::ScopedProfile tracking_profile( |
+ FROM_HERE_WITH_EXPLICIT_FUNCTION( |
+ "422460 TemplateURLService::OnWebDataServiceRequestDone")); |
+ |
// Reset the load_handle so that we don't try and cancel the load in |
// the destructor. |
load_handle_ = 0; |