summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 01:46:35 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 01:46:35 +0000
commit776da44598dbaac15a5030e9dff99d534ce15281 (patch)
treee3e282b31d056a05267c0e0a86492d2a02104df8 /chrome/test/automation
parent1c0228c6e74cb53f478f18e9fc30938be38d25fb (diff)
downloadchromium_src-776da44598dbaac15a5030e9dff99d534ce15281.zip
chromium_src-776da44598dbaac15a5030e9dff99d534ce15281.tar.gz
chromium_src-776da44598dbaac15a5030e9dff99d534ce15281.tar.bz2
Revert "Add startup tests that log start script, domcontentloaded, and onload."
which failed on XP Perf (single). This reverts commit r28199. TBR=tony Review URL: http://codereview.chromium.org/265002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation')
-rw-r--r--chrome/test/automation/automation_messages_internal.h6
-rw-r--r--chrome/test/automation/automation_proxy.cc6
-rw-r--r--chrome/test/automation/automation_proxy.h4
3 files changed, 0 insertions, 16 deletions
diff --git a/chrome/test/automation/automation_messages_internal.h b/chrome/test/automation/automation_messages_internal.h
index 5d009b5..c9d04dd 100644
--- a/chrome/test/automation/automation_messages_internal.h
+++ b/chrome/test/automation/automation_messages_internal.h
@@ -1113,10 +1113,4 @@ IPC_BEGIN_MESSAGES(Automation)
int /* tab_handle */,
int /* The font size */)
- // Returns a metric event duration that was last recorded. Returns -1 if the
- // event hasn't occurred yet.
- IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_GetMetricEventDuration,
- std::string /* event_name */,
- int /* duration ms */)
-
IPC_END_MESSAGES(Automation)
diff --git a/chrome/test/automation/automation_proxy.cc b/chrome/test/automation/automation_proxy.cc
index 69a363c..a039ffb3 100644
--- a/chrome/test/automation/automation_proxy.cc
+++ b/chrome/test/automation/automation_proxy.cc
@@ -342,12 +342,6 @@ bool AutomationProxy::IsURLDisplayed(GURL url) {
return false;
}
-bool AutomationProxy::GetMetricEventDuration(const std::string& event_name,
- int* duration_ms) {
- return Send(new AutomationMsg_GetMetricEventDuration(0, event_name,
- duration_ms));
-}
-
bool AutomationProxy::SetFilteredInet(bool enabled) {
return Send(new AutomationMsg_SetFilteredInet(0, enabled));
}
diff --git a/chrome/test/automation/automation_proxy.h b/chrome/test/automation/automation_proxy.h
index ce3ff17..dac3bc3 100644
--- a/chrome/test/automation/automation_proxy.h
+++ b/chrome/test/automation/automation_proxy.h
@@ -124,10 +124,6 @@ class AutomationProxy : public IPC::Channel::Listener,
// Returns true if one of the tabs in any window displays given url.
bool IsURLDisplayed(GURL url);
- // Get the duration of the last |event_name| in the browser. Returns
- // false if the IPC failed to send.
- bool GetMetricEventDuration(const std::string& event_name, int* duration_ms);
-
// Returns the BrowserProxy for the browser window at the given index,
// transferring ownership of the pointer to the caller.
// On failure, returns NULL.