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

Unified Diff: chrome/test/automation/extension_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/extension_proxy.h ('k') | chrome/test/automation/extension_proxy_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/extension_proxy.cc
diff --git a/chrome/test/automation/extension_proxy.cc b/chrome/test/automation/extension_proxy.cc
index 147df63660d6c56ee087a8c61ac53fce0938a818..817cfba0900c9e371d8ca29ab09f470d4b83a996 100644
--- a/chrome/test/automation/extension_proxy.cc
+++ b/chrome/test/automation/extension_proxy.cc
@@ -8,7 +8,6 @@
#include "chrome/common/automation_messages.h"
#include "chrome/test/automation/automation_proxy.h"
#include "chrome/test/automation/browser_proxy.h"
-#include "testing/gtest/include/gtest/gtest.h"
ExtensionProxy::ExtensionProxy(AutomationMessageSender* sender,
AutomationHandleTracker* tracker,
@@ -100,30 +99,6 @@ bool ExtensionProxy::GetBrowserActionIndex(int* index) {
return true;
}
-void ExtensionProxy::EnsureIdMatches(const std::string& expected_id) {
- std::string id;
- ASSERT_TRUE(GetId(&id));
- ASSERT_EQ(expected_id, id);
-}
-
-void ExtensionProxy::EnsureNameMatches(const std::string& expected_name) {
- std::string name;
- ASSERT_TRUE(GetName(&name));
- ASSERT_EQ(expected_name, name);
-}
-
-void ExtensionProxy::EnsureVersionMatches(const std::string& expected_version) {
- std::string version;
- ASSERT_TRUE(GetVersion(&version));
- ASSERT_EQ(expected_version, version);
-}
-
-void ExtensionProxy::EnsureBrowserActionIndexMatches(int expected_index) {
- int index;
- ASSERT_TRUE(GetBrowserActionIndex(&index));
- ASSERT_EQ(expected_index, index);
-}
-
bool ExtensionProxy::GetProperty(AutomationMsg_ExtensionProperty type,
std::string* value) {
DCHECK(value);
« no previous file with comments | « chrome/test/automation/extension_proxy.h ('k') | chrome/test/automation/extension_proxy_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698