summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/tab_proxy.h
diff options
context:
space:
mode:
authorjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-11 21:48:18 +0000
committerjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-11 21:48:18 +0000
commit816633af02b2e7e2c5be5f760db60dee502f326b (patch)
tree461fba4349a961e90606c48bceeeafc46bea66f9 /chrome/test/automation/tab_proxy.h
parent6a3e3081b35adfdc055a32d7d7d2a91b5e31d09c (diff)
downloadchromium_src-816633af02b2e7e2c5be5f760db60dee502f326b.zip
chromium_src-816633af02b2e7e2c5be5f760db60dee502f326b.tar.gz
chromium_src-816633af02b2e7e2c5be5f760db60dee502f326b.tar.bz2
Rename unused "SSL" related automation methods to be generic, since that's what these methods actually do, and so I can repurpose them for a different info-bar test.
BUG=none TEST=none Review URL: http://codereview.chromium.org/385029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31718 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/tab_proxy.h')
-rw-r--r--chrome/test/automation/tab_proxy.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h
index 7693e60..9a5be9c 100644
--- a/chrome/test/automation/tab_proxy.h
+++ b/chrome/test/automation/tab_proxy.h
@@ -315,13 +315,13 @@ class TabProxy : public AutomationResourceProxy {
const std::string& origin,
const std::string& target);
- // Retrieves the number of SSL related info-bars currently showing in |count|.
- bool GetSSLInfoBarCount(int* count);
+ // Retrieves the number of info-bars currently showing in |count|.
+ bool GetInfoBarCount(int* count);
- // Causes a click on the link of the info-bar at |info_bar_index|. If
- // |wait_for_navigation| is true, this call does not return until a navigation
- // has occured.
- bool ClickSSLInfoBarLink(int info_bar_index, bool wait_for_navigation);
+ // Causes a click on the "accept" button of the info-bar at |info_bar_index|.
+ // If |wait_for_navigation| is true, this call does not return until a
+ // navigation has occured.
+ bool ClickInfoBarAccept(int info_bar_index, bool wait_for_navigation);
// Retrieves the time at which the last navigation occured. This is intended
// to be used with WaitForNavigation (see below).