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

Unified Diff: content/browser/service_worker/service_worker_registration.cc

Issue 140743012: Start EmbeddedWorker during registration - take 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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_registration.cc
diff --git a/content/browser/service_worker/service_worker_registration.cc b/content/browser/service_worker/service_worker_registration.cc
index 060de04608ffefbdc3eac0b7ea6f16eac4e7d0db..0954a43e5a05b751520dc3913c8b7e8205e9f3ee 100644
--- a/content/browser/service_worker/service_worker_registration.cc
+++ b/content/browser/service_worker/service_worker_registration.cc
@@ -14,8 +14,11 @@ ServiceWorkerRegistration::ServiceWorkerRegistration(const GURL& pattern,
: pattern_(pattern),
script_url_(script_url),
registration_id_(registration_id),
+ next_version_id_(0L),
is_shutdown_(false) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
+ LOG(ERROR) << "Created registration for (" << pattern << "," << script_url
+ << ")";
}
ServiceWorkerRegistration::~ServiceWorkerRegistration() {

Powered by Google App Engine
This is Rietveld 408576698