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

Side by Side Diff: chrome/browser/task_manager/legacy_task_manager_tester.h

Issue 1955123002: [Part 4 of 6] Split LegacyTaskManagerTester into its own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tm_file_split3
Patch Set: Created 4 years, 7 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 | « no previous file | chrome/browser/task_manager/legacy_task_manager_tester.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_ 5 #ifndef CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_
6 #define MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_ 6 #define CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "services/shell/public/cpp/shell_client.h" 11 #include "chrome/browser/task_manager/task_manager_browsertest_util.h"
12 12
13 namespace media { 13 namespace task_manager {
14 14
15 // Creates a MojoMediaApplication instance using the default MojoMediaClient. 15 // Create a LegacyTaskManagerTester for the old (deprecated, mac-only) task
16 std::unique_ptr<shell::ShellClient> CreateMojoMediaApplication( 16 // manager. If you're writing a test, don't use this directly since it won't
17 const base::Closure& quit_closure); 17 // work on other platforms. Use TaskManagerTester::Create() instead.
18 std::unique_ptr<browsertest_util::TaskManagerTester>
19 CreateLegacyTaskManagerTester(const base::Closure& callback);
18 20
19 } // namespace media 21 } // namespace task_manager
20 22
21 #endif // MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_ 23 #endif // CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/task_manager/legacy_task_manager_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698