summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui_test_utils.h
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-21 00:32:45 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-21 00:32:45 +0000
commita8a812927466ad39a65b718049ffcd76c24e6a1e (patch)
tree349d438d0436fad66fcf2c83ccb6c52722794b06 /chrome/test/ui_test_utils.h
parentc55fd9484f10cb72736e0a6688f7ed0db5435af8 (diff)
downloadchromium_src-a8a812927466ad39a65b718049ffcd76c24e6a1e.zip
chromium_src-a8a812927466ad39a65b718049ffcd76c24e6a1e.tar.gz
chromium_src-a8a812927466ad39a65b718049ffcd76c24e6a1e.tar.bz2
One more attempt at landing this CL.
There are now memory errors in the CLD library that cause memory crashers in reliability tests. I will add reliability failures to the know_crashes.txt file while the memory errors are being fixed. Original review: http://codereview.chromium.org/492024/show BUG=30662 TEST=Run the unit-tests. TBR=brettw Review URL: http://codereview.chromium.org/555014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36707 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui_test_utils.h')
-rw-r--r--chrome/test/ui_test_utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/test/ui_test_utils.h b/chrome/test/ui_test_utils.h
index 600aca0..d59d6c1 100644
--- a/chrome/test/ui_test_utils.h
+++ b/chrome/test/ui_test_utils.h
@@ -120,6 +120,10 @@ void WaitForFocusChange(RenderViewHost* rvh);
// traversal).
void WaitForFocusInBrowser(Browser* browser);
+// Waits for the language of the page to have been detected and returns it.
+// This should be called right after a navigation notification was received.
+std::string WaitForLanguageDetection(TabContents* tab_contents);
+
// Performs a find in the page of the specified tab. Returns the number of
// matches found. |ordinal| is an optional parameter which is set to the index
// of the current match.