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

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

Issue 2546183004: Remove unused linked_ptr inclusion (Closed)
Patch Set: Created 4 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
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 <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/debug/leak_annotations.h" 11 #include "base/debug/leak_annotations.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/linked_ptr.h"
17 #include "base/memory/ptr_util.h" 16 #include "base/memory/ptr_util.h"
18 #include "base/process/process_metrics.h" 17 #include "base/process/process_metrics.h"
19 #include "base/run_loop.h" 18 #include "base/run_loop.h"
20 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
21 #include "base/test/test_file_util.h" 20 #include "base/test/test_file_util.h"
22 #include "build/build_config.h" 21 #include "build/build_config.h"
23 #include "chrome/app/chrome_main_delegate.h" 22 #include "chrome/app/chrome_main_delegate.h"
24 #include "chrome/common/chrome_constants.h" 23 #include "chrome/common/chrome_constants.h"
25 #include "chrome/common/chrome_switches.h" 24 #include "chrome/common/chrome_switches.h"
26 #include "chrome/install_static/install_details.h" 25 #include "chrome/install_static/install_details.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 #if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_WIN) 121 #if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_WIN)
123 // We leak this pointer intentionally. The crash client needs to outlive 122 // We leak this pointer intentionally. The crash client needs to outlive
124 // all other code. 123 // all other code.
125 ChromeCrashReporterClient* crash_client = new ChromeCrashReporterClient(); 124 ChromeCrashReporterClient* crash_client = new ChromeCrashReporterClient();
126 ANNOTATE_LEAKING_OBJECT_PTR(crash_client); 125 ANNOTATE_LEAKING_OBJECT_PTR(crash_client);
127 crash_reporter::SetCrashReporterClient(crash_client); 126 crash_reporter::SetCrashReporterClient(crash_client);
128 #endif 127 #endif
129 128
130 return content::LaunchTests(delegate, default_jobs, argc, argv); 129 return content::LaunchTests(delegate, default_jobs, argc, argv);
131 } 130 }
OLDNEW
« no previous file with comments | « chrome/renderer/media/cast_session_delegate.h ('k') | chrome/test/chromedriver/session_commands_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698