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

Unified Diff: content/common/sandbox_mac_unittest_helper.h

Issue 8589001: Load mac sandbox definitions from resources instead of the bundle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 1 month 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_mac_unittest_helper.h
diff --git a/content/common/sandbox_mac_unittest_helper.h b/content/common/sandbox_mac_unittest_helper.h
index 84c32211d082017d6566a69517aaa5c22936b396..1897b23d35ca74117b7e34e2e78081cec1d5759f 100644
--- a/content/common/sandbox_mac_unittest_helper.h
+++ b/content/common/sandbox_mac_unittest_helper.h
@@ -51,12 +51,14 @@ class MacSandboxTest : public base::MultiProcessTest {
// required.
// Returns true if the test passes, false if either of the functions in
// the corresponding MacSandboxTestCase return false.
- bool RunTestInSandbox(sandbox::Sandbox::SandboxProcessType sandbox_type,
+ bool RunTestInSandbox(content::SandboxProcessType sandbox_type,
const char* test_name,
const char* test_data);
- // Runs the test specified by |test_name| in all the different sandbox types,
- // one by one.
+ // Runs the test specified by |test_name| in all the different sandbox types
+ // known to content, one by one.
+ // If the embedder defines additional sandbox types, they won't be covered by
+ // these tests.
jeremy 2011/11/24 12:20:19 nit: I'd make this more prominent, something like:
jochen (gone - plz use gerrit) 2011/11/24 16:23:22 Done.
// Returns true if the test passes, false if either of the functions in
// the corresponding MacSandboxTestCase return false in any of the spawned
// processes.

Powered by Google App Engine
This is Rietveld 408576698