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[]; |