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

Side by Side Diff: chrome/test/base/chrome_test_launcher.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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 | « chrome/test/base/chrome_render_view_test.cc ('k') | chrome/test/base/chrome_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 "chrome/test/base/chrome_test_launcher.h" 5 #include "chrome/test/base/chrome_test_launcher.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/debug/leak_annotations.h" 8 #include "base/debug/leak_annotations.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h"
12 #include "base/memory/linked_ptr.h" 13 #include "base/memory/linked_ptr.h"
13 #include "base/process/process_metrics.h" 14 #include "base/process/process_metrics.h"
14 #include "base/run_loop.h" 15 #include "base/run_loop.h"
15 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
16 #include "base/test/test_file_util.h" 17 #include "base/test/test_file_util.h"
18 #include "build/build_config.h"
17 #include "chrome/app/chrome_main_delegate.h" 19 #include "chrome/app/chrome_main_delegate.h"
18 #include "chrome/common/chrome_constants.h" 20 #include "chrome/common/chrome_constants.h"
19 #include "chrome/common/chrome_switches.h" 21 #include "chrome/common/chrome_switches.h"
20 #include "chrome/test/base/chrome_test_suite.h" 22 #include "chrome/test/base/chrome_test_suite.h"
21 #include "chrome/test/base/test_switches.h" 23 #include "chrome/test/base/test_switches.h"
22 #include "components/crash/content/app/crashpad.h" 24 #include "components/crash/content/app/crashpad.h"
23 #include "content/public/app/content_main.h" 25 #include "content/public/app/content_main.h"
24 #include "content/public/common/content_switches.h" 26 #include "content/public/common/content_switches.h"
25 #include "content/public/test/test_launcher.h" 27 #include "content/public/test/test_launcher.h"
26 #include "content/public/test/test_utils.h" 28 #include "content/public/test/test_utils.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // We leak this pointer intentionally. The crash client needs to outlive 120 // We leak this pointer intentionally. The crash client needs to outlive
119 // all other code. 121 // all other code.
120 ChromeCrashReporterClient* crash_client = new ChromeCrashReporterClient(); 122 ChromeCrashReporterClient* crash_client = new ChromeCrashReporterClient();
121 ANNOTATE_LEAKING_OBJECT_PTR(crash_client); 123 ANNOTATE_LEAKING_OBJECT_PTR(crash_client);
122 crash_reporter::SetCrashReporterClient(crash_client); 124 crash_reporter::SetCrashReporterClient(crash_client);
123 #endif 125 #endif
124 126
125 ChromeTestLauncherDelegate launcher_delegate(runner); 127 ChromeTestLauncherDelegate launcher_delegate(runner);
126 return content::LaunchTests(&launcher_delegate, default_jobs, argc, argv); 128 return content::LaunchTests(&launcher_delegate, default_jobs, argc, argv);
127 } 129 }
OLDNEW
« no previous file with comments | « chrome/test/base/chrome_render_view_test.cc ('k') | chrome/test/base/chrome_test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698