Index: content/browser/service_worker/service_worker_context_watcher.cc |
diff --git a/content/browser/service_worker/service_worker_context_watcher.cc b/content/browser/service_worker/service_worker_context_watcher.cc |
index 22169d18ba6d5da110401e9bf146493724b929c1..5d1a1a8ff813dcd845e9299ebe358a64a79a2b90 100644 |
--- a/content/browser/service_worker/service_worker_context_watcher.cc |
+++ b/content/browser/service_worker/service_worker_context_watcher.cc |
@@ -199,6 +199,17 @@ void ServiceWorkerContextWatcher::OnVersionStateChanged( |
version_info_map_.erase(version_id); |
} |
+void ServiceWorkerContextWatcher::OnMainScriptHttpResponseInfoSet( |
+ int64 version_id, |
+ base::Time script_response_time, |
+ base::Time script_last_modified) { |
+ ServiceWorkerVersionInfo* version = version_info_map_.get(version_id); |
+ DCHECK(version); |
+ version->script_response_time = script_response_time; |
+ version->script_last_modified = script_last_modified; |
+ SendVersionInfo(*version); |
+} |
+ |
void ServiceWorkerContextWatcher::OnErrorReported(int64 version_id, |
int process_id, |
int thread_id, |