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/files/file_util.h" | 7 #include "base/files/file_util.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
11 #include "base/test/test_timeouts.h" | 11 #include "base/test/test_timeouts.h" |
12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "build/build_config.h" |
13 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
14 #include "chrome/browser/ui/browser_tabstrip.h" | 15 #include "chrome/browser/ui/browser_tabstrip.h" |
15 #include "chrome/common/chrome_paths.h" | 16 #include "chrome/common/chrome_paths.h" |
16 #include "content/public/test/browser_test_utils.h" | 17 #include "content/public/test/browser_test_utils.h" |
17 | 18 |
18 namespace test { | 19 namespace test { |
19 | 20 |
20 // Relative to the chrome/test/data directory. | 21 // Relative to the chrome/test/data directory. |
21 const base::FilePath::CharType kReferenceFilesDirName[] = | 22 const base::FilePath::CharType kReferenceFilesDirName[] = |
22 FILE_PATH_LITERAL("webrtc/resources"); | 23 FILE_PATH_LITERAL("webrtc/resources"); |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 } | 158 } |
158 } | 159 } |
159 LOG(ERROR) | 160 LOG(ERROR) |
160 << "Timed out while waiting for " << javascript | 161 << "Timed out while waiting for " << javascript |
161 << " to evaluate to " << evaluates_to << "; last result was '" << result | 162 << " to evaluate to " << evaluates_to << "; last result was '" << result |
162 << "'"; | 163 << "'"; |
163 return false; | 164 return false; |
164 } | 165 } |
165 | 166 |
166 } // namespace test | 167 } // namespace test |
OLD | NEW |