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

Unified Diff: content/browser/service_worker/service_worker_dispatcher_host.h

Issue 604193002: ServiceWorker: Add UMA to measure execution times of oninstall/onfetch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: content/browser/service_worker/service_worker_dispatcher_host.h
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.h b/content/browser/service_worker/service_worker_dispatcher_host.h
index c90996499088f2677804ffa576b1900bae0a1f48..914390920bf348c5d9662df1edf0d23bdabcab75 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host.h
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h
@@ -167,6 +167,8 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter {
bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL.
ScopedVector<IPC::Message> pending_messages_;
+ IDMap<base::TimeTicks, IDMapExternalPointer> registration_start_timings_;
nhiroki 2014/09/26 07:28:17 Why don't you use std::map?
shimazu 2014/09/29 08:15:47 Done.
+
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost);
};

Powered by Google App Engine
This is Rietveld 408576698