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

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

Issue 412833002: Ensure JavaScript equality when serviceWorker.register resolves to an existing worker [2/3] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comment Created 6 years, 5 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 | « content/browser/service_worker/service_worker_dispatcher_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_handle.h
diff --git a/content/browser/service_worker/service_worker_handle.h b/content/browser/service_worker/service_worker_handle.h
index 5b46b185ef5c011493215477129b6b74ea713a5c..0e57d9174171d20132a6510665cd74b7f011838c 100644
--- a/content/browser/service_worker/service_worker_handle.h
+++ b/content/browser/service_worker/service_worker_handle.h
@@ -67,9 +67,10 @@ class CONTENT_EXPORT ServiceWorkerHandle
ServiceWorkerObjectInfo GetObjectInfo();
+ int thread_id() const { return thread_id_; }
+ int handle_id() const { return handle_id_; }
ServiceWorkerRegistration* registration() { return registration_.get(); }
ServiceWorkerVersion* version() { return version_.get(); }
- int handle_id() const { return handle_id_; }
bool HasNoRefCount() const { return ref_count_ <= 0; }
void IncrementRefCount();
« no previous file with comments | « content/browser/service_worker/service_worker_dispatcher_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698