| OLD | NEW |
| 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/browser/task_manager/task_manager_browsertest_util.h" | 5 #include "chrome/browser/task_manager/task_manager_browsertest_util.h" |
| 6 | 6 |
| 7 #include "base/message_loop/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
| 8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 | 244 |
| 245 base::string16 MatchSubframe(const char* title) { | 245 base::string16 MatchSubframe(const char* title) { |
| 246 return l10n_util::GetStringFUTF16(IDS_TASK_MANAGER_SUBFRAME_PREFIX, | 246 return l10n_util::GetStringFUTF16(IDS_TASK_MANAGER_SUBFRAME_PREFIX, |
| 247 base::ASCIIToUTF16(title)); | 247 base::ASCIIToUTF16(title)); |
| 248 } | 248 } |
| 249 | 249 |
| 250 base::string16 MatchAnySubframe() { | 250 base::string16 MatchAnySubframe() { |
| 251 return MatchSubframe("*"); | 251 return MatchSubframe("*"); |
| 252 } | 252 } |
| 253 | 253 |
| 254 base::string16 MatchUtility(const base::string16& title) { |
| 255 return l10n_util::GetStringFUTF16(IDS_TASK_MANAGER_UTILITY_PREFIX, title); |
| 256 } |
| 257 |
| 258 base::string16 MatchAnyUtility() { |
| 259 return MatchUtility(base::ASCIIToUTF16("*")); |
| 260 } |
| 261 |
| 254 } // namespace browsertest_util | 262 } // namespace browsertest_util |
| 255 } // namespace task_manager | 263 } // namespace task_manager |
| OLD | NEW |