OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_BROWSERTEST_UTIL_H_ | |
6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_BROWSERTEST_UTIL_H_ | |
7 #pragma once | |
8 | |
9 #include "base/message_loop.h" | |
10 #include "chrome/browser/browser_process.h" | |
11 #include "chrome/browser/profiles/profile.h" | |
12 #include "chrome/browser/task_manager/task_manager.h" | |
13 #include "chrome/browser/ui/browser.h" | |
14 #include "chrome/browser/ui/browser_window.h" | |
15 #include "chrome/common/chrome_notification_types.h" | |
16 #include "chrome/test/ui_test_utils.h" | |
17 #include "content/common/notification_source.h" | |
18 | |
19 class TaskManagerBrowserTestUtil { | |
20 public: | |
21 static void WaitForResourceChange(int target_count); | |
22 | |
23 static void ShowTaskManagerAndWaitForReady(Browser* browser); | |
24 | |
25 // Wait for any pending BackgroundContents to finish starting up. | |
26 static void WaitForBackgroundContents(Browser* browser); | |
27 }; | |
28 | |
29 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_BROWSERTEST_UTIL_H_ | |
OLD | NEW |