Index: chrome/common/sandbox_mac_diraccess_unittest.mm |
diff --git a/chrome/common/sandbox_mac_unittest.mm b/chrome/common/sandbox_mac_diraccess_unittest.mm |
similarity index 98% |
rename from chrome/common/sandbox_mac_unittest.mm |
rename to chrome/common/sandbox_mac_diraccess_unittest.mm |
index dcd98146ec88a427b8b6780b1d5f6aa4a0739da8..71eff73f647c9473e38b555cdb6fe29485da9475 100644 |
--- a/chrome/common/sandbox_mac_unittest.mm |
+++ b/chrome/common/sandbox_mac_diraccess_unittest.mm |
@@ -17,6 +17,8 @@ extern "C" { |
#include "chrome/common/sandbox_mac.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+// Tests to exercise directory-access-related restrictions of Mac sandbox. |
+ |
namespace sandbox { |
bool QuotePlainString(const std::string& str_utf8, std::string* dst); |
@@ -24,6 +26,8 @@ bool QuoteStringForRegex(const std::string& str_utf8, std::string* dst); |
} // namespace sandbox |
+namespace { |
+ |
static const char* kSandboxAccessPathKey = "sandbox_dir"; |
class MacDirAccessSandboxTest : public MultiProcessTest { |
@@ -242,3 +246,5 @@ MULTIPROCESS_TEST_MAIN(mac_sandbox_path_access) { |
return 0; |
} |
+ |
+} // namespace |