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

Unified Diff: content/common/sandbox_mac_diraccess_unittest.mm

Issue 2686433002: Move SandboxCompiler class into the sandbox library. (Closed)
Patch Set: Try getting rid of sysctl-read 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
« no previous file with comments | « content/common/sandbox_mac_compiler_unittest.mm ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_mac_diraccess_unittest.mm
diff --git a/content/common/sandbox_mac_diraccess_unittest.mm b/content/common/sandbox_mac_diraccess_unittest.mm
index 322b231d5b8f8666ec13de65e2fdf69c19cfbcf8..828395fc744e2dbe416cb1d3cb0393569dbd2f13 100644
--- a/content/common/sandbox_mac_diraccess_unittest.mm
+++ b/content/common/sandbox_mac_diraccess_unittest.mm
@@ -20,6 +20,7 @@ extern "C" {
#include "base/strings/utf_string_conversions.h"
#include "base/test/multiprocess_test.h"
#include "content/common/sandbox_mac.h"
+#include "sandbox/mac/sandbox_compiler.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/multiprocess_func_list.h"
@@ -205,7 +206,7 @@ MULTIPROCESS_TEST_MAIN(mac_sandbox_path_access) {
"perm_dir)))))";
// Setup the parameters to pass to the sandbox.
- SandboxCompiler compiler(sandbox_profile);
+ sandbox::SandboxCompiler compiler(sandbox_profile);
CHECK(compiler.InsertStringParam("PERMITTED_DIR", final_allowed_dir));
// Enable Sandbox.
« no previous file with comments | « content/common/sandbox_mac_compiler_unittest.mm ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698