Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Unified Diff: chrome/browser/accessibility/accessibility_mac_uitest.mm

Issue 6354005: Remove action_max_timeout_ms and fix all the callers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/dom_ui/bookmarks_ui_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/accessibility/accessibility_mac_uitest.mm
diff --git a/chrome/browser/accessibility/accessibility_mac_uitest.mm b/chrome/browser/accessibility/accessibility_mac_uitest.mm
index 5a7905774d0d907c6dbda28d144e49cdbae53f14..f88dd2b1a5955818b2d0814abb5426effaff162f 100644
--- a/chrome/browser/accessibility/accessibility_mac_uitest.mm
+++ b/chrome/browser/accessibility/accessibility_mac_uitest.mm
@@ -1,10 +1,11 @@
-// Copyright (c) 2010 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.
#import <Cocoa/Cocoa.h>
#include "base/scoped_nsobject.h"
+#include "base/test/test_timeouts.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/test/ui/ui_test.h"
@@ -40,7 +41,8 @@ class AccessibilityMacUITest : public UITest {
void WaitAndAssertAllEventsObserved() {
ASSERT_GE([expectedEvents count], 1U);
CFRunLoopRunInMode(
- kCFRunLoopDefaultMode, action_max_timeout_ms()/1000, false);
+ kCFRunLoopDefaultMode,
+ TestTimeouts::action_max_timeout_ms() / 1000, false);
ASSERT_EQ(0U, [AccessibilityMacUITest::expectedEvents count]);
}
« no previous file with comments | « no previous file | chrome/browser/dom_ui/bookmarks_ui_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698