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

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

Issue 10804038: Convert cookie and download automation commands to the JSON interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 5 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/browser_proxy.h ('k') | chrome/test/automation/tab_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/browser_proxy.cc
diff --git a/chrome/test/automation/browser_proxy.cc b/chrome/test/automation/browser_proxy.cc
index 25b3c58bf82ceb2a32fcd526a1b11bbec539cef2..0854505afd8aa23aa83103bb594ce606dee86d84 100644
--- a/chrome/test/automation/browser_proxy.cc
+++ b/chrome/test/automation/browser_proxy.cc
@@ -51,14 +51,6 @@ bool BrowserProxy::BringToFront() {
return succeeded;
}
-bool BrowserProxy::IsMenuCommandEnabled(int id, bool* enabled) {
- if (!is_valid())
- return false;
-
- return sender_->Send(new AutomationMsg_IsMenuCommandEnabled(handle_, id,
- enabled));
-}
-
bool BrowserProxy::AppendTab(const GURL& tab_url) {
if (!is_valid())
return false;
@@ -363,27 +355,6 @@ bool BrowserProxy::RemoveBookmark(int64 id) {
return result;
}
-bool BrowserProxy::IsShelfVisible(bool* is_visible) {
- if (!is_valid())
- return false;
-
- if (!is_visible) {
- NOTREACHED();
- return false;
- }
-
- return sender_->Send(new AutomationMsg_ShelfVisibility(handle_,
- is_visible));
-}
-
-bool BrowserProxy::SetShelfVisible(bool is_visible) {
- if (!is_valid())
- return false;
-
- return sender_->Send(new AutomationMsg_SetShelfVisibility(handle_,
- is_visible));
-}
-
bool BrowserProxy::TerminateSession() {
if (!is_valid())
return false;
« no previous file with comments | « chrome/test/automation/browser_proxy.h ('k') | chrome/test/automation/tab_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698