| Index: chrome/browser/media_uitest.cc
|
| diff --git a/chrome/browser/media_uitest.cc b/chrome/browser/media_uitest.cc
|
| index 0d1bc26dd11c9cfeffb601b72e1b56eb0e59019e..f05bc1004b6a552760b62ca6c0ee54613ace6f7a 100644
|
| --- a/chrome/browser/media_uitest.cc
|
| +++ b/chrome/browser/media_uitest.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -6,6 +6,7 @@
|
| #include "base/basictypes.h"
|
| #include "base/file_path.h"
|
| #include "base/string_util.h"
|
| +#include "base/test/test_timeouts.h"
|
| #include "base/threading/platform_thread.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/test/test_launcher_utils.h"
|
| @@ -46,7 +47,7 @@ class MediaTest : public UITest {
|
| const std::wstring kFailed = L"FAILED";
|
| const std::wstring kError = L"ERROR";
|
| for (int i = 0; i < 10; ++i) {
|
| - base::PlatformThread::Sleep(sleep_timeout_ms());
|
| + base::PlatformThread::Sleep(TestTimeouts::action_timeout_ms());
|
| const std::wstring& title = GetActiveTabTitle();
|
| if (title == kPlaying || title == kFailed ||
|
| StartsWith(title, kError, true))
|
|
|