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

Unified Diff: content/common/sandbox_win.h

Issue 2672003002: Remove the --allow-no-sandbox-job flag in favor of automatic recognition. (Closed)
Patch Set: Forgot one ref to the removed switch. Created 3 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
Index: content/common/sandbox_win.h
diff --git a/content/common/sandbox_win.h b/content/common/sandbox_win.h
index 7bda68eaac36c260eff42452f8b83d3eb025ab1b..e8a82df9760313dc159c393da78d2081e526ea55 100644
--- a/content/common/sandbox_win.h
+++ b/content/common/sandbox_win.h
@@ -11,10 +11,6 @@
#include "sandbox/win/src/sandbox_types.h"
#include "sandbox/win/src/security_level.h"
-namespace base {
-class CommandLine;
-}
-
namespace sandbox {
class BrokerServices;
class TargetPolicy;
@@ -25,8 +21,7 @@ namespace content {
// Wrapper around sandbox::TargetPolicy::SetJobLevel that checks if the sandbox
// should be let to run without a job object assigned.
-sandbox::ResultCode SetJobLevel(const base::CommandLine& cmd_line,
- sandbox::JobLevel job_level,
+sandbox::ResultCode SetJobLevel(sandbox::JobLevel job_level,
uint32_t ui_exceptions,
sandbox::TargetPolicy* policy);

Powered by Google App Engine
This is Rietveld 408576698