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

Unified Diff: content/common/sandbox_mac_unittest_helper.h

Issue 11228040: Move sandbox code in content to content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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_mac_unittest_helper.h
===================================================================
--- content/common/sandbox_mac_unittest_helper.h (revision 163460)
+++ content/common/sandbox_mac_unittest_helper.h (working copy)
@@ -8,7 +8,7 @@
#include "base/test/multiprocess_test.h"
#include "content/common/sandbox_mac.h"
-namespace sandboxtest {
+namespace content {
// Helpers for writing unit tests that runs in the context of the Mac sandbox.
//
@@ -22,8 +22,7 @@
// one of its helper functions to launch the test.
//
// Example:
-// class TestCaseThatRunsInSandboxedSubprocess :
-// public sandboxtest::MacSandboxTestCase {
+// class TestCaseThatRunsInSandboxedSubprocess : public MacSandboxTestCase {
// public:
// virtual bool SandboxedTest() {
// .. test code that runs in sandbox goes here ..
@@ -110,12 +109,12 @@
#define REGISTER_SANDBOX_TEST_CASE(class_name) \
namespace { \
- sandboxtest::internal::RegisterSandboxTest<class_name> \
+ content::internal::RegisterSandboxTest<class_name> \
register_test##class_name(#class_name); \
} // namespace
} // namespace internal
-} // namespace sandboxtest
+} // namespace content
#endif // CONTENT_COMMON_SANDBOX_MAC_UNITTEST_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698