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

Unified Diff: content/public/renderer/render_thread.h

Issue 2447143003: Use kRenderClientId command line flag when starting a render process (Closed)
Patch Set: Added RenderThread::GetClientId() to fix the problem where some tests don't have the kRendererClien… Created 4 years, 2 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/renderer/render_thread.h
diff --git a/content/public/renderer/render_thread.h b/content/public/renderer/render_thread.h
index 59add715f665e426d14aade9ab3d8cb22ec71550..3b2c2b18e278b39b7b3c4d07a0b381f363f30490 100644
--- a/content/public/renderer/render_thread.h
+++ b/content/public/renderer/render_thread.h
@@ -106,6 +106,9 @@ class CONTENT_EXPORT RenderThread : virtual public ChildThread {
// Gets the shutdown event for the process.
virtual base::WaitableEvent* GetShutdownEvent() = 0;
+
+ // Retrieve the process ID of the browser process.
+ virtual int32_t GetClientId() = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698