summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_sandbox_host_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/renderer_host/render_sandbox_host_linux.h')
-rw-r--r--chrome/browser/renderer_host/render_sandbox_host_linux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/render_sandbox_host_linux.h b/chrome/browser/renderer_host/render_sandbox_host_linux.h
index b0122e8..2cb0604 100644
--- a/chrome/browser/renderer_host/render_sandbox_host_linux.h
+++ b/chrome/browser/renderer_host/render_sandbox_host_linux.h
@@ -11,12 +11,16 @@
#include <string>
#include "base/logging.h"
-#include "base/singleton.h"
+
+template <typename T> struct DefaultSingletonTraits;
// This is a singleton object which handles sandbox requests from the
// renderers.
class RenderSandboxHostLinux {
public:
+ // Returns the singleton instance.
+ static RenderSandboxHostLinux* GetInstance();
+
// Get the file descriptor which renderers should be given in order to signal
// crashes to the browser.
int GetRendererSocket() const {