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

Unified Diff: content/browser/devtools/protocol/service_worker_handler.cc

Issue 1037933002: [DevTools] Send ServiceWorkerVersion.ScriptLastModified and ScriptResponseTime to DevTools window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test failure 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
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_context_core.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/service_worker_handler.cc
diff --git a/content/browser/devtools/protocol/service_worker_handler.cc b/content/browser/devtools/protocol/service_worker_handler.cc
index 460c1bc92976f8918404720049ff241e33b8ab3f..cffa1a098ce81b3ffee518ed5dc8fe29223734d4 100644
--- a/content/browser/devtools/protocol/service_worker_handler.cc
+++ b/content/browser/devtools/protocol/service_worker_handler.cc
@@ -87,7 +87,11 @@ scoped_refptr<ServiceWorkerVersion> CreateVersionDictionaryValue(
->set_script_url(version_info.script_url.spec())
->set_running_status(
GetVersionRunningStatusString(version_info.running_status))
- ->set_status(GetVersionStatusString(version_info.status)));
+ ->set_status(GetVersionStatusString(version_info.status))
+ ->set_script_last_modified(
+ version_info.script_last_modified.ToDoubleT())
+ ->set_script_response_time(
+ version_info.script_response_time.ToDoubleT()));
return version;
}
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_context_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698