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

Unified Diff: content/browser/service_worker/service_worker_storage.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_storage.h
diff --git a/content/browser/service_worker/service_worker_storage.h b/content/browser/service_worker/service_worker_storage.h
index c4ee47f2f9ae92ad2d620b711a3fe12197fd6d8c..3c09b1bfe64377cbc0aaade398d7804fbbd3f411 100644
--- a/content/browser/service_worker/service_worker_storage.h
+++ b/content/browser/service_worker/service_worker_storage.h
@@ -188,7 +188,7 @@ class CONTENT_EXPORT ServiceWorkerStorage
// Returns new IDs which are guaranteed to be unique in the storage.
int64 NewRegistrationId();
- int64 NewVersionId();
+ std::string NewVersionId();
int64 NewResourceId();
// Intended for use only by ServiceWorkerRegisterJob and
@@ -250,7 +250,6 @@ class CONTENT_EXPORT ServiceWorkerStorage
struct InitialData {
int64 next_registration_id;
- int64 next_version_id;
int64 next_resource_id;
std::set<GURL> origins;
bool disk_cache_migration_needed;
@@ -498,7 +497,6 @@ class CONTENT_EXPORT ServiceWorkerStorage
std::vector<base::Closure> pending_tasks_;
int64 next_registration_id_;
- int64 next_version_id_;
int64 next_resource_id_;
enum State {

Powered by Google App Engine
This is Rietveld 408576698