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

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

Issue 268753004: Add WorkerScriptLoaded message to support attaching DevTools while starting ServiceWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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/embedded_worker_instance.cc
diff --git a/content/browser/service_worker/embedded_worker_instance.cc b/content/browser/service_worker/embedded_worker_instance.cc
index b56df25d360c32cb54c4346671cde192937df6b0..f20c99043947c8d44646e187b1b16678afe2add4 100644
--- a/content/browser/service_worker/embedded_worker_instance.cc
+++ b/content/browser/service_worker/embedded_worker_instance.cc
@@ -99,6 +99,10 @@ void EmbeddedWorkerInstance::RecordProcessId(
}
}
+void EmbeddedWorkerInstance::OnScriptLoaded() {
+ // TODO(horo): Implement this.
+}
+
void EmbeddedWorkerInstance::OnStarted(int thread_id) {
// Stop is requested before OnStarted is sent back from the worker.
if (status_ == STOPPING)

Powered by Google App Engine
This is Rietveld 408576698