diff options
author | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-20 21:50:03 +0000 |
---|---|---|
committer | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-20 21:50:03 +0000 |
commit | c70013bd3f8f695abe9b5d96e992c669557d6f60 (patch) | |
tree | 35106ded2a4d6cdfac8b6fddc410e6932dd65807 /chrome/test/ui_test_utils.h | |
parent | cb2131e3818ad8fb2f78db93140be7e0be48e64b (diff) | |
download | chromium_src-c70013bd3f8f695abe9b5d96e992c669557d6f60.zip chromium_src-c70013bd3f8f695abe9b5d96e992c669557d6f60.tar.gz chromium_src-c70013bd3f8f695abe9b5d96e992c669557d6f60.tar.bz2 |
Add 3 tests for extension installation. Fix and re-enable UpdatePermissions test.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/547017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36679 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui_test_utils.h')
-rw-r--r-- | chrome/test/ui_test_utils.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/test/ui_test_utils.h b/chrome/test/ui_test_utils.h index 89dc8fc..600aca0 100644 --- a/chrome/test/ui_test_utils.h +++ b/chrome/test/ui_test_utils.h @@ -19,6 +19,7 @@ class DownloadManager; class GURL; class MessageLoop; class NavigationController; +class Profile; class RenderViewHost; class TabContents; class Value; @@ -58,6 +59,11 @@ void WaitForNewTab(Browser* browser); // Waits for a load stop for the specified |controller|. void WaitForLoadStop(NavigationController* controller); +// Opens |url| in an incognito browser window with the off the record profile of +// |profile|, blocking until the navigation finishes. This will create a new +// browser if a browser with the off the record profile does not exist. +void OpenURLOffTheRecord(Profile* profile, const GURL& url); + // Navigates the selected tab of |browser| to |url|, blocking until the // navigation finishes. void NavigateToURL(Browser* browser, const GURL& url); @@ -68,7 +74,6 @@ void NavigateToURLBlockUntilNavigationsComplete(Browser* browser, const GURL& url, int number_of_navigations); - // Executes the passed |script| in the frame pointed to by |frame_xpath| (use // empty string for main frame) and returns the value the evaluation of the // script returned. The caller owns the returned value. |