OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/media/webrtc_browsertest_common.h" | 5 #include "chrome/browser/media/webrtc_browsertest_common.h" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "base/process_util.h" | |
10 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
11 #include "base/test/test_timeouts.h" | 10 #include "base/test/test_timeouts.h" |
12 #include "base/time/time.h" | 11 #include "base/time/time.h" |
13 #include "chrome/browser/chrome_notification_types.h" | 12 #include "chrome/browser/chrome_notification_types.h" |
14 #include "chrome/browser/infobars/infobar.h" | 13 #include "chrome/browser/infobars/infobar.h" |
15 #include "chrome/browser/infobars/infobar_service.h" | 14 #include "chrome/browser/infobars/infobar_service.h" |
16 #include "chrome/browser/media/media_stream_infobar_delegate.h" | 15 #include "chrome/browser/media/media_stream_infobar_delegate.h" |
17 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
18 #include "chrome/browser/ui/browser.h" | 17 #include "chrome/browser/ui/browser.h" |
19 #include "chrome/browser/ui/browser_tabstrip.h" | 18 #include "chrome/browser/ui/browser_tabstrip.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 // TODO(phoglund): Figure out why this fails every now and then. | 70 // TODO(phoglund): Figure out why this fails every now and then. |
72 // It's not a huge deal if it does though. | 71 // It's not a huge deal if it does though. |
73 LOG(ERROR) << "Failed to sleep."; | 72 LOG(ERROR) << "Failed to sleep."; |
74 } | 73 } |
75 } | 74 } |
76 LOG(ERROR) << "Timed out while waiting for " << javascript << | 75 LOG(ERROR) << "Timed out while waiting for " << javascript << |
77 " to evaluate to " << evaluates_to << "; last result was '" << result << | 76 " to evaluate to " << evaluates_to << "; last result was '" << result << |
78 "'"; | 77 "'"; |
79 return false; | 78 return false; |
80 } | 79 } |
OLD | NEW |