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

Side by Side Diff: base/multiprocess_test.h

Issue 13052: Cleanup: move base/platform_test.h -> testing/ (Closed)
Patch Set: fix mark's comment Created 12 years 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
« no previous file with comments | « base/file_util_unittest.cc ('k') | base/path_service_unittest.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_MULTIPROCESS_TEST_H__ 5 #ifndef BASE_MULTIPROCESS_TEST_H__
6 #define BASE_MULTIPROCESS_TEST_H__ 6 #define BASE_MULTIPROCESS_TEST_H__
7 7
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/platform_test.h"
10 #include "base/process_util.h" 9 #include "base/process_util.h"
11 #include "base/string_util.h" 10 #include "base/string_util.h"
12 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
13 #include "testing/multiprocess_func_list.h" 12 #include "testing/multiprocess_func_list.h"
13 #include "testing/platform_test.h"
14 14
15 #if defined(OS_POSIX) 15 #if defined(OS_POSIX)
16 #include <sys/types.h> 16 #include <sys/types.h>
17 #include <unistd.h> 17 #include <unistd.h>
18 #endif 18 #endif
19 19
20 // Command line switch to invoke a child process rather than 20 // Command line switch to invoke a child process rather than
21 // to run the normal test suite. 21 // to run the normal test suite.
22 static const wchar_t kRunClientProcess[] = L"client"; 22 static const wchar_t kRunClientProcess[] = L"client";
23 23
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 std::string switchstr = WideToUTF8(wswitchstr); 67 std::string switchstr = WideToUTF8(wswitchstr);
68 clvec.push_back(switchstr.c_str()); 68 clvec.push_back(switchstr.c_str());
69 base::LaunchApp(clvec, false, &handle); 69 base::LaunchApp(clvec, false, &handle);
70 #endif 70 #endif
71 71
72 return handle; 72 return handle;
73 } 73 }
74 }; 74 };
75 75
76 #endif // BASE_MULTIPROCESS_TEST_H__ 76 #endif // BASE_MULTIPROCESS_TEST_H__
OLDNEW
« no previous file with comments | « base/file_util_unittest.cc ('k') | base/path_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698