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

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

Issue 8584013: gtest / gmock shouldn't be in the shipping product (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert t_a_p change Created 9 years, 1 month 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/automation_proxy.h ('k') | chrome/test/automation/browser_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « chrome/test/automation/automation_proxy.h ('k') | chrome/test/automation/browser_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698