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

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

Issue 186973002: Add RenderThread::GetShutdownEvent(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix Created 6 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
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_thread.h
diff --git a/content/public/renderer/render_thread.h b/content/public/renderer/render_thread.h
index 184da1ea5a0997231c2865263139cdb85774741a..4a4615e2c46968cc74c37699001ad8591d004a44 100644
--- a/content/public/renderer/render_thread.h
+++ b/content/public/renderer/render_thread.h
@@ -22,6 +22,7 @@ class GURL;
namespace base {
class MessageLoop;
class MessageLoopProxy;
+class WaitableEvent;
}
namespace IPC {
@@ -121,6 +122,9 @@ class CONTENT_EXPORT RenderThread : public IPC::Sender {
// proxy servers.
virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) = 0;
+ // Gets the shutdown event for the process.
+ virtual base::WaitableEvent* GetShutdownEvent() = 0;
+
#if defined(OS_WIN)
// Request that the given font be loaded by the browser so it's cached by the
// OS. Please see ChildProcessHost::PreCacheFont for details.
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698