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

Unified Diff: chrome/test/automation/tab_proxy.cc

Issue 10830193: Remove SWIGged use of BrowserProxy and TabProxy from PyAuto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Used named arguments and deleted unused test files, as suggested by Nirnimesh. Created 8 years, 4 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 | « chrome/test/automation/tab_proxy.h ('k') | chrome/test/functional/browser.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/tab_proxy.cc
diff --git a/chrome/test/automation/tab_proxy.cc b/chrome/test/automation/tab_proxy.cc
index b00a84eb49d6fc933247735d8c0c4b605fc06c7a..ee20842817621c0f6070892518cfd2ff715f98d1 100644
--- a/chrome/test/automation/tab_proxy.cc
+++ b/chrome/test/automation/tab_proxy.cc
@@ -343,55 +343,6 @@ void TabProxy::HandleMessageFromExternalHost(const std::string& message,
}
#endif // defined(OS_WIN)
-bool TabProxy::WaitForTabToBeRestored(uint32 timeout_ms) {
- if (!is_valid())
- return false;
- bool succeeded = false;
- return sender_->Send(
- new AutomationMsg_WaitForTabToBeRestored(handle_, &succeeded)) &&
- succeeded;
-}
-
-bool TabProxy::GetSecurityState(content::SecurityStyle* security_style,
- net::CertStatus* ssl_cert_status,
- int* insecure_content_status) {
- DCHECK(security_style && ssl_cert_status && insecure_content_status);
-
- if (!is_valid())
- return false;
-
- bool succeeded = false;
-
- sender_->Send(new AutomationMsg_GetSecurityState(
- handle_, &succeeded, security_style, ssl_cert_status,
- insecure_content_status));
-
- return succeeded;
-}
-
-bool TabProxy::GetPageType(content::PageType* type) {
- DCHECK(type);
-
- if (!is_valid())
- return false;
-
- bool succeeded = false;
- sender_->Send(new AutomationMsg_GetPageType(handle_, &succeeded, type));
- return succeeded;
-}
-
-bool TabProxy::TakeActionOnSSLBlockingPage(bool proceed) {
- if (!is_valid())
- return false;
-
- AutomationMsg_NavigationResponseValues result =
- AUTOMATION_MSG_NAVIGATION_ERROR;
- sender_->Send(new AutomationMsg_ActionOnSSLBlockingPage(handle_, proceed,
- &result));
- return result == AUTOMATION_MSG_NAVIGATION_SUCCESS ||
- result == AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED;
-}
-
bool TabProxy::PrintAsync() {
if (!is_valid())
return false;
« no previous file with comments | « chrome/test/automation/tab_proxy.h ('k') | chrome/test/functional/browser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698