Chromium Code Reviews| Index: chrome/browser/safe_browsing/safe_browsing_service.cc |
| diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc |
| index b957300e6a2278adcc248be6119ebcfb90716bcc..a2fc083d3b9fbb645bb9766df63eab523153d66b 100644 |
| --- a/chrome/browser/safe_browsing/safe_browsing_service.cc |
| +++ b/chrome/browser/safe_browsing/safe_browsing_service.cc |
| @@ -35,6 +35,7 @@ |
| #include "chrome/common/chrome_paths.h" |
| #include "chrome/common/chrome_switches.h" |
| #include "chrome/common/pref_names.h" |
| +#include "chrome/common/startup_metric_utils.h" |
| #include "chrome/common/url_constants.h" |
| #include "content/public/browser/browser_thread.h" |
| #include "content/public/browser/notification_service.h" |
| @@ -164,6 +165,9 @@ SafeBrowsingService::~SafeBrowsingService() { |
| } |
| void SafeBrowsingService::Initialize() { |
| + startup_metric_utils::ScopedSlowStartupUMA |
| + scoped_timer("Startup.SlowStartupSafeBrowsingServiceInitialize"); |
|
Scott Hess - ex-Googler
2013/01/07 21:47:25
I'm less certain about what this will measure. I
jeremy
2013/01/10 15:08:39
Neither would I, but I think if nothing else it'll
|
| + |
| url_request_context_getter_ = |
| new SafeBrowsingURLRequestContextGetter(this); |