Index: chrome/test/automation/automation_proxy.cc |
diff --git a/chrome/test/automation/automation_proxy.cc b/chrome/test/automation/automation_proxy.cc |
index 9788c29bc07a73c841b6cd70b5185c6828acbae9..27de278febe6f1c295704f3c4073f86ff4bd16a3 100644 |
--- a/chrome/test/automation/automation_proxy.cc |
+++ b/chrome/test/automation/automation_proxy.cc |
@@ -4,8 +4,6 @@ |
#include "chrome/test/automation/automation_proxy.h" |
-#include <gtest/gtest.h> |
- |
#include <sstream> |
#include "base/basictypes.h" |
@@ -251,15 +249,9 @@ scoped_refptr<ExtensionProxy> AutomationProxy::InstallExtension( |
return ProxyObjectFromHandle<ExtensionProxy>(handle); |
} |
-void AutomationProxy::EnsureExtensionTestResult() { |
- bool result; |
- std::string message; |
- if (!Send(new AutomationMsg_WaitForExtensionTestResult(&result, |
- &message))) { |
- FAIL() << "Could not send WaitForExtensionTestResult message"; |
- return; |
- } |
- ASSERT_TRUE(result) << "Extension test message: " << message; |
+bool AutomationProxy::GetExtensionTestResult( |
+ bool* result, std::string* message) { |
+ return Send(new AutomationMsg_WaitForExtensionTestResult(result, message)); |
} |
bool AutomationProxy::GetBrowserWindowCount(int* num_windows) { |