| Index: chrome/test/ui_test_utils.cc
|
| ===================================================================
|
| --- chrome/test/ui_test_utils.cc (revision 67835)
|
| +++ chrome/test/ui_test_utils.cc (working copy)
|
| @@ -341,12 +341,6 @@
|
| return true;
|
| }
|
|
|
| -void Checkpoint(const char* message, const base::TimeTicks& start_time) {
|
| - LOG(INFO) << message << " : "
|
| - << (base::TimeTicks::Now() - start_time).InMilliseconds()
|
| - << " ms" << std::flush;
|
| -}
|
| -
|
| } // namespace
|
|
|
| void RunMessageLoop() {
|
| @@ -612,13 +606,11 @@
|
| bool alt,
|
| bool command) {
|
| base::TimeTicks start_time = base::TimeTicks::Now();
|
| - Checkpoint("SendKeyPressSync", start_time);
|
|
|
| gfx::NativeWindow window = NULL;
|
| if (!GetNativeWindow(browser, &window))
|
| return false;
|
|
|
| - Checkpoint("SendKeyPressNotifyWhenDone", start_time);
|
| if (!ui_controls::SendKeyPressNotifyWhenDone(
|
| window, key, control, shift, alt, command,
|
| new MessageLoop::QuitTask())) {
|
| @@ -628,9 +620,7 @@
|
| // Run the message loop. It'll stop running when either the key was received
|
| // or the test timed out (in which case testing::Test::HasFatalFailure should
|
| // be set).
|
| - Checkpoint("Running loop", start_time);
|
| RunMessageLoop();
|
| - Checkpoint("Check if HasFatalFailure", start_time);
|
| return !testing::Test::HasFatalFailure();
|
| }
|
|
|
|
|