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

Unified Diff: content/browser/devtools/service_worker_devtools_manager.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/devtools/service_worker_devtools_manager.h
diff --git a/content/browser/devtools/service_worker_devtools_manager.h b/content/browser/devtools/service_worker_devtools_manager.h
index 1c9f75b8a257a2e1743ac96b0e03f6245cf5acda..b60915ec282a3f9d8750a634517350cccdb40d6b 100644
--- a/content/browser/devtools/service_worker_devtools_manager.h
+++ b/content/browser/devtools/service_worker_devtools_manager.h
@@ -44,7 +44,7 @@ class CONTENT_EXPORT ServiceWorkerDevToolsManager {
ServiceWorkerIdentifier(
const ServiceWorkerContextCore* context,
base::WeakPtr<ServiceWorkerContextCore> context_weak,
- int64 version_id,
+ std::string version_uuid,
const GURL& url);
ServiceWorkerIdentifier(const ServiceWorkerIdentifier& other);
~ServiceWorkerIdentifier();
@@ -55,13 +55,13 @@ class CONTENT_EXPORT ServiceWorkerDevToolsManager {
base::WeakPtr<ServiceWorkerContextCore> context_weak() const {
return context_weak_;
}
- int64 version_id() const { return version_id_; }
+ std::string version_uuid() const { return version_uuid_; }
GURL url() const { return url_; }
private:
const ServiceWorkerContextCore* const context_;
const base::WeakPtr<ServiceWorkerContextCore> context_weak_;
- const int64 version_id_;
+ const std::string version_uuid_;
const GURL url_;
};

Powered by Google App Engine
This is Rietveld 408576698