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

Unified Diff: content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc

Issue 292443004: Remove IPC_BEGIN_MESSAGE_MAP_EX macro since r270839 made all bad IPCs kill their child processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 7 months 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
Index: content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc
===================================================================
--- content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc (revision 271040)
+++ content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc (working copy)
@@ -73,10 +73,8 @@
return true;
}
- virtual bool OnMessageReceived(const IPC::Message& message,
- bool* message_was_ok) OVERRIDE {
- return WebRTCIdentityServiceHost::OnMessageReceived(message,
- message_was_ok);
+ virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE {
+ return WebRTCIdentityServiceHost::OnMessageReceived(message);
}
IPC::Message GetLastMessage() { return messages_.back(); }
@@ -103,20 +101,15 @@
host_(new WebRTCIdentityServiceHostForTest(store_.get())) {}
void SendRequestToHost() {
- bool ok;
host_->OnMessageReceived(
WebRTCIdentityMsg_RequestIdentity(FAKE_SEQUENCE_NUMBER,
GURL(FAKE_ORIGIN),
FAKE_IDENTITY_NAME,
- FAKE_COMMON_NAME),
- &ok);
- ASSERT_TRUE(ok);
+ FAKE_COMMON_NAME));
}
void SendCancelRequestToHost() {
- bool ok;
- host_->OnMessageReceived(WebRTCIdentityMsg_CancelRequest(), &ok);
- ASSERT_TRUE(ok);
+ host_->OnMessageReceived(WebRTCIdentityMsg_CancelRequest());
}
void VerifyRequestFailedMessage(int error) {

Powered by Google App Engine
This is Rietveld 408576698