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

Side by Side Diff: base/test/test_suite.h

Issue 10735044: Remove #pragma once. Just from base/ for now. (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 | « base/test/test_reg_util_win.h ('k') | base/test/thread_test_helper.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 BASE_TEST_TEST_SUITE_H_ 5 #ifndef BASE_TEST_TEST_SUITE_H_
6 #define BASE_TEST_TEST_SUITE_H_ 6 #define BASE_TEST_TEST_SUITE_H_
7 #pragma once
8 7
9 // Defines a basic test suite framework for running gtest based tests. You can 8 // Defines a basic test suite framework for running gtest based tests. You can
10 // instantiate this class in your main function and call its Run method to run 9 // instantiate this class in your main function and call its Run method to run
11 // any gtest based tests that are linked into your executable. 10 // any gtest based tests that are linked into your executable.
12 11
13 #include <string> 12 #include <string>
14 13
15 #include "base/at_exit.h" 14 #include "base/at_exit.h"
16 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
17 16
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 DISALLOW_COPY_AND_ASSIGN(TestSuite); 93 DISALLOW_COPY_AND_ASSIGN(TestSuite);
95 }; 94 };
96 95
97 } // namespace base 96 } // namespace base
98 97
99 // TODO(brettw) remove this. This is a temporary hack to allow WebKit to compile 98 // TODO(brettw) remove this. This is a temporary hack to allow WebKit to compile
100 // until we can update it to use "base::" (preventing a two-sided patch). 99 // until we can update it to use "base::" (preventing a two-sided patch).
101 using base::TestSuite; 100 using base::TestSuite;
102 101
103 #endif // BASE_TEST_TEST_SUITE_H_ 102 #endif // BASE_TEST_TEST_SUITE_H_
OLDNEW
« no previous file with comments | « base/test/test_reg_util_win.h ('k') | base/test/thread_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698