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

Unified Diff: content/common/child_process_host_impl.h

Issue 10600009: Support partitioning of storage contexts based on render_id. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebased Created 8 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
Index: content/common/child_process_host_impl.h
diff --git a/content/common/child_process_host_impl.h b/content/common/child_process_host_impl.h
index 0d4f3d5ea8ee3cccdb06ced5c98bc79b0f8bcba3..3216acf076f9e033d0458cc4c91929e10bc069d9 100644
--- a/content/common/child_process_host_impl.h
+++ b/content/common/child_process_host_impl.h
@@ -31,6 +31,10 @@ class CONTENT_EXPORT ChildProcessHostImpl : public ChildProcessHost,
public:
virtual ~ChildProcessHostImpl();
+ // This value is guaranteed to never be returned by
+ // GenerateChildProcessUniqueId() below.
+ static int kInvalidChildProcessId;
+
// Public and static for reuse by RenderMessageFilter.
static void AllocateSharedMemory(
uint32 buffer_size, base::ProcessHandle child_process,

Powered by Google App Engine
This is Rietveld 408576698