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

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

Issue 1037933002: [DevTools] Send ServiceWorkerVersion.ScriptLastModified and ScriptResponseTime to DevTools window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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_context_watcher.h
diff --git a/content/browser/service_worker/service_worker_context_watcher.h b/content/browser/service_worker/service_worker_context_watcher.h
index c02728234db4afb105b560f285b201727f3ad01e..bb4f96425011c6673c8ca4e3215f3c1a7c5f93bb 100644
--- a/content/browser/service_worker/service_worker_context_watcher.h
+++ b/content/browser/service_worker/service_worker_context_watcher.h
@@ -9,6 +9,7 @@
#include "base/callback.h"
#include "base/containers/scoped_ptr_hash_map.h"
+#include "base/time/time.h"
#include "content/browser/service_worker/service_worker_context_observer.h"
#include "content/browser/service_worker/service_worker_info.h"
@@ -66,6 +67,8 @@ class ServiceWorkerContextWatcher
void OnVersionStateChanged(
int64 version_id,
content::ServiceWorkerVersion::Status status) override;
+ void OnVersionUpdateTimeSet(int64 version_id,
+ base::Time update_time) override;
void OnRegistrationStored(int64 registration_id,
const GURL& pattern) override;
void OnRegistrationDeleted(int64 registration_id,

Powered by Google App Engine
This is Rietveld 408576698