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

Side by Side Diff: content/common/sandbox_mac_unittest_helper.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/sandbox_mac.h ('k') | content/common/sandbox_methods_linux.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_SANDBOX_MAC_UNITTEST_HELPER_H_ 5 #ifndef CONTENT_COMMON_SANDBOX_MAC_UNITTEST_HELPER_H_
6 #define CONTENT_COMMON_SANDBOX_MAC_UNITTEST_HELPER_H_ 6 #define CONTENT_COMMON_SANDBOX_MAC_UNITTEST_HELPER_H_
7 #pragma once
8 7
9 #include "base/test/multiprocess_test.h" 8 #include "base/test/multiprocess_test.h"
10 #include "content/common/sandbox_mac.h" 9 #include "content/common/sandbox_mac.h"
11 10
12 namespace sandboxtest { 11 namespace sandboxtest {
13 12
14 // Helpers for writing unit tests that runs in the context of the Mac sandbox. 13 // Helpers for writing unit tests that runs in the context of the Mac sandbox.
15 // 14 //
16 // How to write a sandboxed test: 15 // How to write a sandboxed test:
17 // 1. Create a class that inherits from MacSandboxTestCase and overrides 16 // 1. Create a class that inherits from MacSandboxTestCase and overrides
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 namespace { \ 112 namespace { \
114 sandboxtest::internal::RegisterSandboxTest<class_name> \ 113 sandboxtest::internal::RegisterSandboxTest<class_name> \
115 register_test##class_name(#class_name); \ 114 register_test##class_name(#class_name); \
116 } // namespace 115 } // namespace
117 116
118 } // namespace internal 117 } // namespace internal
119 118
120 } // namespace sandboxtest 119 } // namespace sandboxtest
121 120
122 #endif // CONTENT_COMMON_SANDBOX_MAC_UNITTEST_HELPER_H_ 121 #endif // CONTENT_COMMON_SANDBOX_MAC_UNITTEST_HELPER_H_
OLDNEW
« no previous file with comments | « content/common/sandbox_mac.h ('k') | content/common/sandbox_methods_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698