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

Unified Diff: chrome/common/sandbox_mac_diraccess_unittest.mm

Issue 2131005: Mac: Infrastructure for serialization of OS fonts over IPC. (Closed)
Patch Set: Better error logging Created 10 years, 7 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 | « chrome/common/font_loader_mac_unittest.mm ('k') | chrome/common/sandbox_mac_fontloading_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/common/font_loader_mac_unittest.mm ('k') | chrome/common/sandbox_mac_fontloading_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698