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

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

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_version.h
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
index 9fb73aa608170f087b2c5c3ae9424ed9e5917ca1..1b5beed3265eeb52ef7251400f9eaa76bbe2d545 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -123,13 +123,12 @@ class CONTENT_EXPORT ServiceWorkerVersion
virtual ~Listener() {}
};
- ServiceWorkerVersion(
- ServiceWorkerRegistration* registration,
- const GURL& script_url,
- int64 version_id,
- base::WeakPtr<ServiceWorkerContextCore> context);
+ ServiceWorkerVersion(ServiceWorkerRegistration* registration,
+ const GURL& script_url,
+ std::string version_uuid,
+ base::WeakPtr<ServiceWorkerContextCore> context);
- int64 version_id() const { return version_id_; }
+ std::string version_uuid() const { return version_uuid_; }
int64 registration_id() const { return registration_id_; }
const GURL& script_url() const { return script_url_; }
const GURL& scope() const { return scope_; }
@@ -527,7 +526,7 @@ class CONTENT_EXPORT ServiceWorkerVersion
ServiceWorkerStatusCode status,
const scoped_refptr<ServiceWorkerRegistration>& registration);
- const int64 version_id_;
+ const std::string version_uuid_;
const int64 registration_id_;
const GURL script_url_;
const GURL scope_;

Powered by Google App Engine
This is Rietveld 408576698