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

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: rebase 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 f9c8aff0be3035e05546c92a7027df8659560e2c..4bfa930183b179cec946bad73e0d9acb335cf373 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"
@@ -75,6 +76,8 @@ class ServiceWorkerContextWatcher
int process_id,
int thread_id,
const ErrorInfo& info) 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