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

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: Fix comments Created 8 years, 6 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 378be0a52c0ae7f71fb48ee2c7ad33053e8de88b..e0cd75d054549bdcff93f1876fc04c135bcd1bf0 100644
--- a/content/common/child_process_host_impl.h
+++ b/content/common/child_process_host_impl.h
@@ -32,6 +32,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