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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/task_manager/legacy_task_manager_tester.h
diff --git a/media/mojo/services/mojo_media_application_factory.h b/chrome/browser/task_manager/legacy_task_manager_tester.h
similarity index 25%
copy from media/mojo/services/mojo_media_application_factory.h
copy to chrome/browser/task_manager/legacy_task_manager_tester.h
index e366f44c0c5b62840cb04f1adddcbff5d31e3f64..4b229f3366cb8ba90e89b1a2847d97368c1683da 100644
--- a/media/mojo/services/mojo_media_application_factory.h
+++ b/chrome/browser/task_manager/legacy_task_manager_tester.h
@@ -2,20 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_
-#define MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_
+#ifndef CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_
+#define CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_
#include <memory>
#include "base/callback_forward.h"
-#include "services/shell/public/cpp/shell_client.h"
+#include "chrome/browser/task_manager/task_manager_browsertest_util.h"
-namespace media {
+namespace task_manager {
-// Creates a MojoMediaApplication instance using the default MojoMediaClient.
-std::unique_ptr<shell::ShellClient> CreateMojoMediaApplication(
- const base::Closure& quit_closure);
+// Create a LegacyTaskManagerTester for the old (deprecated, mac-only) task
+// manager. If you're writing a test, don't use this directly since it won't
+// work on other platforms. Use TaskManagerTester::Create() instead.
+std::unique_ptr<browsertest_util::TaskManagerTester>
+CreateLegacyTaskManagerTester(const base::Closure& callback);
-} // namespace media
+} // namespace task_manager
-#endif // MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_
+#endif // CHROME_BROWSER_TASK_MANAGER_LEGACY_TASK_MANAGER_TESTER_H_
« 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