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

Unified Diff: chrome/test/automation/automation_proxy.h

Issue 10388175: Remove all the unnused automation IPCs. These were used by UI tests that have been converted to bro… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/common/automation_messages_internal.h ('k') | chrome/test/automation/automation_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/automation_proxy.h
===================================================================
--- chrome/test/automation/automation_proxy.h (revision 137438)
+++ chrome/test/automation/automation_proxy.h (working copy)
@@ -118,23 +118,6 @@
// False likely indicates an IPC error.
bool GetNormalBrowserWindowCount(int* num_windows) WARN_UNUSED_RESULT;
- // Gets the locale of the chrome browser, currently all browsers forked from
- // the main chrome share the same UI locale, returning true on success.
- // False likely indicates an IPC error.
- bool GetBrowserLocale(string16* locale) WARN_UNUSED_RESULT;
-
- // Returns whether an app modal dialog window is showing right now (i.e., a
- // javascript alert), and what buttons it contains.
- bool GetShowingAppModalDialog(bool* showing_app_modal_dialog,
- ui::DialogButton* button) WARN_UNUSED_RESULT;
-
- // Simulates a click on a dialog button. Synchronous.
- bool ClickAppModalDialogButton(ui::DialogButton button) WARN_UNUSED_RESULT;
-
- // Block the thread until a modal dialog is displayed. Returns true on
- // success.
- bool WaitForAppModalDialog() WARN_UNUSED_RESULT;
-
// Returns true if one of the tabs in any window displays given url.
bool IsURLDisplayed(GURL url) WARN_UNUSED_RESULT;
@@ -157,14 +140,6 @@
// On failure, returns NULL.
scoped_refptr<BrowserProxy> FindTabbedBrowserWindow();
- // Returns the BrowserProxy for the browser window which was last active,
- // transferring ownership of the pointer to the caller.
- // TODO: If there was no last active browser window, or the last active
- // browser window no longer exists (for example, if it was closed),
- // returns GetBrowserWindow(0). See crbug.com/10501. As for now this
- // function is flakey.
- scoped_refptr<BrowserProxy> GetLastActiveBrowserWindow();
-
// Returns the WindowProxy for the currently active window, transferring
// ownership of the pointer to the caller.
// On failure, returns NULL.
@@ -174,10 +149,6 @@
// false if the message fails to send to the browser.
bool SetFilteredInet(bool enabled) WARN_UNUSED_RESULT;
- // Returns the number of times a network request filter was used to service a
- // network request. Returns -1 on error.
- int GetFilteredInetHitCount();
-
// Sends the browser a new proxy configuration to start using. Returns true
// if the proxy config was successfully sent, false otherwise.
bool SendProxyConfig(const std::string& new_proxy_config) WARN_UNUSED_RESULT;
@@ -202,13 +173,6 @@
int timeout_ms,
std::string* response) WARN_UNUSED_RESULT;
-#if defined(OS_CHROMEOS)
- // Logs in through the Chrome OS login wizard with given |username|
- // and |password|. Returns true on success.
- bool LoginWithUserAndPass(const std::string& username,
- const std::string& password) WARN_UNUSED_RESULT;
-#endif
-
// Begin tracing specified categories on the browser instance. Blocks until
// browser acknowledges that tracing has begun (or failed if false is
// returned). |categories| is a comma-delimited list of category wildcards.
« no previous file with comments | « chrome/common/automation_messages_internal.h ('k') | chrome/test/automation/automation_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698