OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_BROWSERTEST_UTIL_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_BROWSERTEST_UTIL_H_ |
6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_BROWSERTEST_UTIL_H_ | 6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_BROWSERTEST_UTIL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
9 | 11 |
10 namespace task_manager { | 12 namespace task_manager { |
11 namespace browsertest_util { | 13 namespace browsertest_util { |
12 | 14 |
13 // For the old task manager browser tests, we must call this to disable the | 15 // For the old task manager browser tests, we must call this to disable the |
14 // use of the new implementation and revert back to the old one. | 16 // use of the new implementation and revert back to the old one. |
15 void EnableOldTaskManager(); | 17 void EnableOldTaskManager(); |
16 | 18 |
17 // Runs the message loop, observing the task manager, until there are exactly | 19 // Runs the message loop, observing the task manager, until there are exactly |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 base::string16 MatchSubframe(const char* title); // "Subframe: " + title | 65 base::string16 MatchSubframe(const char* title); // "Subframe: " + title |
64 base::string16 MatchAnySubframe(); // "Subframe: *" | 66 base::string16 MatchAnySubframe(); // "Subframe: *" |
65 // "Utility: " + title | 67 // "Utility: " + title |
66 base::string16 MatchUtility(const base::string16& title); | 68 base::string16 MatchUtility(const base::string16& title); |
67 base::string16 MatchAnyUtility(); // "Utility: *" | 69 base::string16 MatchAnyUtility(); // "Utility: *" |
68 | 70 |
69 } // namespace browsertest_util | 71 } // namespace browsertest_util |
70 } // namespace task_manager | 72 } // namespace task_manager |
71 | 73 |
72 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_BROWSERTEST_UTIL_H_ | 74 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_BROWSERTEST_UTIL_H_ |
OLD | NEW |