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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 1738663002: Hook embedded shell up to MojoShellConnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index 03a6f0c42fafe8bee6cd55c97b858fa9c6473005..4c6455f5f1eb291bc3a21e877e4389120181729c 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -414,6 +414,11 @@ class CONTENT_EXPORT RenderProcessHostImpl
// The globally-unique identifier for this RPH.
const int id_;
+ // A secondary ID used by the Mojo shell to distinguish different incarnations
+ // of the same RPH from each other. Unlike |id_| this is not globally unique,
+ // but it is guaranteed to change every time Init() is called.
+ int instance_id_ = 1;
+
BrowserContext* browser_context_;
// Owned by |browser_context_|.
« no previous file with comments | « content/browser/mojo/renderer_capability_filter.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698