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

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: 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..4faa96153456691197c434cd8b95608acb9af0fd 100644
--- a/content/browser/service_worker/service_worker_handle.h
+++ b/content/browser/service_worker/service_worker_handle.h
@@ -70,6 +70,7 @@ class CONTENT_EXPORT ServiceWorkerHandle
ServiceWorkerRegistration* registration() { return registration_.get(); }
ServiceWorkerVersion* version() { return version_.get(); }
int handle_id() const { return handle_id_; }
+ int thread_id() const { return thread_id_; }
nhiroki 2014/07/24 02:13:54 nit: can you sort these getters in member field or
falken 2014/07/24 02:24:40 Done.
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