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

Unified Diff: content/child/child_histogram_message_filter.cc

Issue 343593006: Revert 276939 "Decouple IPC::MessageFilter from IPC::Channel" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2057/src/
Patch Set: Created 6 years, 6 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
« no previous file with comments | « content/child/child_histogram_message_filter.h ('k') | content/child/child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_histogram_message_filter.cc
===================================================================
--- content/child/child_histogram_message_filter.cc (revision 278168)
+++ content/child/child_histogram_message_filter.cc (working copy)
@@ -12,20 +12,20 @@
#include "content/child/child_process.h"
#include "content/child/child_thread.h"
#include "content/common/child_process_messages.h"
-#include "ipc/ipc_sender.h"
+#include "ipc/ipc_channel.h"
namespace content {
ChildHistogramMessageFilter::ChildHistogramMessageFilter()
- : sender_(NULL),
+ : channel_(NULL),
io_message_loop_(ChildProcess::current()->io_message_loop_proxy()) {
}
ChildHistogramMessageFilter::~ChildHistogramMessageFilter() {
}
-void ChildHistogramMessageFilter::OnFilterAdded(IPC::Sender* sender) {
- sender_ = sender;
+void ChildHistogramMessageFilter::OnFilterAdded(IPC::Channel* channel) {
+ channel_ = channel;
}
void ChildHistogramMessageFilter::OnFilterRemoved() {
@@ -60,7 +60,7 @@
std::vector<std::string> deltas;
histogram_delta_serialization_->PrepareAndSerializeDeltas(&deltas);
- sender_->Send(
+ channel_->Send(
new ChildProcessHostMsg_ChildHistogramData(sequence_number, deltas));
static int count = 0;
« no previous file with comments | « content/child/child_histogram_message_filter.h ('k') | content/child/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698