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

Side by Side Diff: content/test/content_test_launcher.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « content/test/content_browser_test_utils_internal.cc ('k') | content/test/content_test_suite.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 #include "content/public/test/test_launcher.h" 5 #include "content/public/test/test_launcher.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/stack_trace.h" 9 #include "base/debug/stack_trace.h"
10 #include "base/i18n/icu_util.h" 10 #include "base/i18n/icu_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h"
12 #include "base/process/memory.h" 13 #include "base/process/memory.h"
13 #include "base/sys_info.h" 14 #include "base/sys_info.h"
14 #include "base/test/test_suite.h" 15 #include "base/test/test_suite.h"
15 #include "base/test/test_timeouts.h" 16 #include "base/test/test_timeouts.h"
17 #include "build/build_config.h"
16 #include "content/public/common/content_switches.h" 18 #include "content/public/common/content_switches.h"
17 #include "content/public/test/content_test_suite_base.h" 19 #include "content/public/test/content_test_suite_base.h"
18 #include "content/shell/app/shell_main_delegate.h" 20 #include "content/shell/app/shell_main_delegate.h"
19 #include "content/shell/common/shell_switches.h" 21 #include "content/shell/common/shell_switches.h"
20 #include "media/base/media_switches.h" 22 #include "media/base/media_switches.h"
21 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
22 24
23 #ifdef V8_USE_EXTERNAL_STARTUP_DATA 25 #ifdef V8_USE_EXTERNAL_STARTUP_DATA
24 #include "gin/v8_initializer.h" 26 #include "gin/v8_initializer.h"
25 #endif 27 #endif
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 DISALLOW_COPY_AND_ASSIGN(ContentTestLauncherDelegate); 123 DISALLOW_COPY_AND_ASSIGN(ContentTestLauncherDelegate);
122 }; 124 };
123 125
124 } // namespace content 126 } // namespace content
125 127
126 int main(int argc, char** argv) { 128 int main(int argc, char** argv) {
127 int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2); 129 int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
128 content::ContentTestLauncherDelegate launcher_delegate; 130 content::ContentTestLauncherDelegate launcher_delegate;
129 return LaunchTests(&launcher_delegate, default_jobs, argc, argv); 131 return LaunchTests(&launcher_delegate, default_jobs, argc, argv);
130 } 132 }
OLDNEW
« no previous file with comments | « content/test/content_browser_test_utils_internal.cc ('k') | content/test/content_test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698