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

Unified Diff: content/public/browser/render_process_host.h

Issue 126033004: Clean up ChildProcessHost unique id generation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: start from 1 Created 6 years, 11 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/public/browser/render_process_host.h
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
index 6c19cf96982f7f4c05d2ebd050fb1a93049c1cb7..dc2fa49b79219fb4e923ee23e9b30df7c2046202 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -156,6 +156,8 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
//
// This ID will be unique across all child process hosts, including workers,
// plugins, etc.
+ //
+ // This will never return ChildProcessHost::kInvalidChildProcessUniqueId.
virtual int GetID() const = 0;
// Returns true iff channel_ has been set to non-NULL. Use this for checking

Powered by Google App Engine
This is Rietveld 408576698