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

Unified Diff: content/browser/service_worker/service_worker_info.cc

Issue 1221643014: Service Worker: Migrate to version_uuid and surface ServiceWorker.id. (Chromium 2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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_info.cc
diff --git a/content/browser/service_worker/service_worker_info.cc b/content/browser/service_worker/service_worker_info.cc
index c514868112973ccccd8980f5cfa47eaa6ebce8dc..284916de25527965cb4b485da7bbaf7e4e79584a 100644
--- a/content/browser/service_worker/service_worker_info.cc
+++ b/content/browser/service_worker/service_worker_info.cc
@@ -26,7 +26,7 @@ ServiceWorkerVersionInfo::ServiceWorkerVersionInfo()
: running_status(ServiceWorkerVersion::STOPPED),
status(ServiceWorkerVersion::NEW),
registration_id(kInvalidServiceWorkerRegistrationId),
- version_id(kInvalidServiceWorkerVersionId),
+ version_uuid(std::string()),
process_id(-1),
thread_id(-1),
devtools_agent_route_id(MSG_ROUTING_NONE) {
@@ -37,7 +37,7 @@ ServiceWorkerVersionInfo::ServiceWorkerVersionInfo(
ServiceWorkerVersion::Status status,
const GURL& script_url,
int64 registration_id,
- int64 version_id,
+ std::string version_uuid,
int process_id,
int thread_id,
int devtools_agent_route_id)
@@ -45,7 +45,7 @@ ServiceWorkerVersionInfo::ServiceWorkerVersionInfo(
status(status),
script_url(script_url),
registration_id(registration_id),
- version_id(version_id),
+ version_uuid(version_uuid),
process_id(process_id),
thread_id(thread_id),
devtools_agent_route_id(devtools_agent_route_id) {
« no previous file with comments | « content/browser/service_worker/service_worker_info.h ('k') | content/browser/service_worker/service_worker_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698