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

Unified Diff: content/common/service_worker/service_worker_types.h

Issue 1294243004: PlzNavigate: Make ServiceWorker work with PlzNavigate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup includes and forward decls. Created 5 years, 2 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/common/service_worker/service_worker_types.h
diff --git a/content/common/service_worker/service_worker_types.h b/content/common/service_worker/service_worker_types.h
index bfb087f4bb726163b83af47b345159f96b1440bf..e3c51a4f0f0f1387e30095d137226ac8d224cd3c 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -35,6 +35,10 @@ static const int kDocumentMainThreadId = 0;
// and embedded worker.
static const int kInvalidServiceWorkerRequestId = -1;
+// PlzNavigate
+// This value is used for the render_process_id for navigations.
+static const int kVirtualProcessIDForBrowserRequest = -2;
michaeln 2015/10/07 01:16:44 We should probably use ChildProcessHost::kInvalidU
Fabrice (no longer in Chrome) 2015/10/07 12:59:43 child process host ids cannot be negative, afaik.
+
// Constants for error messages.
extern const char kServiceWorkerRegisterErrorPrefix[];
extern const char kServiceWorkerUpdateErrorPrefix[];

Powered by Google App Engine
This is Rietveld 408576698