summaryrefslogtreecommitdiffstats
path: root/chromium/content/common/sandbox_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/common/sandbox_win.h')
-rw-r--r--chromium/content/common/sandbox_win.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chromium/content/common/sandbox_win.h b/chromium/content/common/sandbox_win.h
index af8f2185ac5..1703d7a9ec7 100644
--- a/chromium/content/common/sandbox_win.h
+++ b/chromium/content/common/sandbox_win.h
@@ -5,9 +5,12 @@
#ifndef CONTENT_COMMON_SANDBOX_WIN_H_
#define CONTENT_COMMON_SANDBOX_WIN_H_
+#include "content/common/content_export.h"
#include "sandbox/win/src/security_level.h"
+namespace base {
class CommandLine;
+}
namespace sandbox {
class BrokerServices;
@@ -19,7 +22,7 @@ namespace content {
// Wrapper around sandbox::TargetPolicy::SetJobLevel that checks if the sandbox
// should be let to run without a job object assigned.
-void SetJobLevel(const CommandLine& cmd_line,
+void SetJobLevel(const base::CommandLine& cmd_line,
sandbox::JobLevel job_level,
uint32 ui_exceptions,
sandbox::TargetPolicy* policy);
@@ -31,6 +34,9 @@ bool InitBrokerServices(sandbox::BrokerServices* broker_services);
bool InitTargetServices(sandbox::TargetServices* target_services);
+// Returns whether DirectWrite font rendering should be used.
+CONTENT_EXPORT bool ShouldUseDirectWrite();
+
} // namespace content
#endif // CONTENT_COMMON_SANDBOX_WIN_H_