summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_localization_peer_unittest.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-23 01:40:11 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-23 01:40:11 +0000
commit6a558a36f77d504f7fdf21c1e4d0ad63caa5909a (patch)
tree5b530d60155c03aabfff982db1476f2fdd4861e6 /chrome/common/extensions/extension_localization_peer_unittest.cc
parent23866704890933c1c1b6d0eb9df33695b998fb64 (diff)
downloadchromium_src-6a558a36f77d504f7fdf21c1e4d0ad63caa5909a.zip
chromium_src-6a558a36f77d504f7fdf21c1e4d0ad63caa5909a.tar.gz
chromium_src-6a558a36f77d504f7fdf21c1e4d0ad63caa5909a.tar.bz2
Remove GetURLForDebugging().
BUG=none TEST=none Review URL: http://codereview.chromium.org/4071004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_localization_peer_unittest.cc')
-rw-r--r--chrome/common/extensions/extension_localization_peer_unittest.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/common/extensions/extension_localization_peer_unittest.cc b/chrome/common/extensions/extension_localization_peer_unittest.cc
index bc6f73f..dc67d5b 100644
--- a/chrome/common/extensions/extension_localization_peer_unittest.cc
+++ b/chrome/common/extensions/extension_localization_peer_unittest.cc
@@ -72,7 +72,6 @@ class MockResourceLoaderBridgePeer
const URLRequestStatus& status,
const std::string& security_info,
const base::Time& completion_time));
- MOCK_CONST_METHOD0(GetURLForDebugging, GURL());
private:
DISALLOW_COPY_AND_ASSIGN(MockResourceLoaderBridgePeer);
@@ -153,7 +152,6 @@ TEST_F(ExtensionLocalizationPeerTest, OnCompletedRequestEmptyData) {
// It will self-delete once it exits OnCompletedRequest.
ExtensionLocalizationPeer* filter_peer = filter_peer_.release();
- EXPECT_CALL(*original_peer_, GetURLForDebugging()).Times(0);
EXPECT_CALL(*original_peer_, OnReceivedData(_, _)).Times(0);
EXPECT_CALL(*sender_, Send(_)).Times(0);
@@ -172,7 +170,6 @@ TEST_F(ExtensionLocalizationPeerTest, OnCompletedRequestNoCatalogs) {
SetData(filter_peer, "some text");
- EXPECT_CALL(*original_peer_, GetURLForDebugging()).Times(0);
EXPECT_CALL(*sender_, Send(_));
std::string data = GetData(filter_peer);
@@ -208,7 +205,6 @@ TEST_F(ExtensionLocalizationPeerTest, OnCompletedRequestWithCatalogs) {
SetData(filter_peer, "some __MSG_text__");
- EXPECT_CALL(*original_peer_, GetURLForDebugging()).Times(0);
// We already have messages in memory, Send will be skipped.
EXPECT_CALL(*sender_, Send(_)).Times(0);
@@ -240,7 +236,6 @@ TEST_F(ExtensionLocalizationPeerTest, OnCompletedRequestReplaceMessagesFails) {
std::string message("some __MSG_missing_message__");
SetData(filter_peer, message);
- EXPECT_CALL(*original_peer_, GetURLForDebugging()).Times(0);
// We already have messages in memory, Send will be skipped.
EXPECT_CALL(*sender_, Send(_)).Times(0);