summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorrobertshield@google.com <robertshield@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 16:13:30 +0000
committerrobertshield@google.com <robertshield@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 16:13:30 +0000
commit97037a1032478f976048762aed86d963dc531c2f (patch)
treecae278fccda2bec154ff08c9fd5d66eae943de90 /chrome/test
parent876d150b06190f15ea9c9758638f7b70714e37bd (diff)
downloadchromium_src-97037a1032478f976048762aed86d963dc531c2f.zip
chromium_src-97037a1032478f976048762aed86d963dc531c2f.tar.gz
chromium_src-97037a1032478f976048762aed86d963dc531c2f.tar.bz2
Revert of r16741 which appeared to cause a perf regression (???) on the builder.
TBR=thomasvl Review URL: http://codereview.chromium.org/115708 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16742 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/automation/automation_constants.h4
-rw-r--r--chrome/test/automation/automation_messages_internal.h8
-rw-r--r--chrome/test/automation/automation_proxy.cc4
-rw-r--r--chrome/test/automation/automation_proxy.h4
4 files changed, 3 insertions, 17 deletions
diff --git a/chrome/test/automation/automation_constants.h b/chrome/test/automation/automation_constants.h
index b08836d..06d13e0 100644
--- a/chrome/test/automation/automation_constants.h
+++ b/chrome/test/automation/automation_constants.h
@@ -6,8 +6,8 @@
#define CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H__
namespace automation {
-// Amount of time to wait before querying the browser.
-static const int kSleepTime = 250;
+ // Amount of time to wait before querying the browser.
+ static const int kSleepTime = 250;
}
// Used by AutomationProxy, declared here so that other headers don't need
diff --git a/chrome/test/automation/automation_messages_internal.h b/chrome/test/automation/automation_messages_internal.h
index b1f854e..eaf5c4a 100644
--- a/chrome/test/automation/automation_messages_internal.h
+++ b/chrome/test/automation/automation_messages_internal.h
@@ -335,12 +335,6 @@ IPC_BEGIN_MESSAGES(Automation)
IPC_MESSAGE_ROUTED1(AutomationMsg_SetFilteredInet,
bool /* enabled */)
- // This message tells the browser to start using the new proxy configuration
- // represented by the given JSON string. The parameters used in the JSON
- // string are defined in automation_constants.h.
- IPC_SYNC_MESSAGE_ROUTED1_0(AutomationMsg_SetProxyConfig,
- std::string /* proxy_config_json_string */)
-
// Gets the directory that downloads will occur in for the active profile.
IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_DownloadDirectory,
int /* tab_handle */,
@@ -760,7 +754,7 @@ IPC_BEGIN_MESSAGES(Automation)
// A message for an external host.
IPC_MESSAGE_ROUTED4(AutomationMsg_ForwardMessageToExternalHost,
- int, /* handle */
+ int, // handle
std::string /* message */,
std::string /* origin */,
std::string /* target */)
diff --git a/chrome/test/automation/automation_proxy.cc b/chrome/test/automation/automation_proxy.cc
index 9fc8193..3f6508b 100644
--- a/chrome/test/automation/automation_proxy.cc
+++ b/chrome/test/automation/automation_proxy.cc
@@ -370,10 +370,6 @@ bool AutomationProxy::SetFilteredInet(bool enabled) {
return Send(new AutomationMsg_SetFilteredInet(0, enabled));
}
-bool AutomationProxy::SendProxyConfig(const std::string& new_proxy_config) {
- return Send(new AutomationMsg_SetProxyConfig(0, new_proxy_config));
-}
-
void AutomationProxy::Disconnect() {
channel_.reset();
}
diff --git a/chrome/test/automation/automation_proxy.h b/chrome/test/automation/automation_proxy.h
index 75c76cd..0b8ad57 100644
--- a/chrome/test/automation/automation_proxy.h
+++ b/chrome/test/automation/automation_proxy.h
@@ -145,10 +145,6 @@ class AutomationProxy : public IPC::Channel::Listener,
// false if the message fails to send to the browser.
bool SetFilteredInet(bool enabled);
- // 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);
-
// These methods are intended to be called by the background thread
// to signal that the given event has occurred, and that any corresponding
// Wait... function can return.