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

Unified Diff: content/child/child_histogram_message_filter.cc

Issue 324143002: Decouple IPC::MessageFilter from IPC::Channel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Landing 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
diff --git a/content/child/child_histogram_message_filter.cc b/content/child/child_histogram_message_filter.cc
index cab7bea9c9e0350a48e2ecc54967132181e19485..3cf36ce46c00afbed479f935a0351123c4e2c81e 100644
--- a/content/child/child_histogram_message_filter.cc
+++ b/content/child/child_histogram_message_filter.cc
@@ -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_channel.h"
+#include "ipc/ipc_sender.h"
namespace content {
ChildHistogramMessageFilter::ChildHistogramMessageFilter()
- : channel_(NULL),
+ : sender_(NULL),
io_message_loop_(ChildProcess::current()->io_message_loop_proxy()) {
}
ChildHistogramMessageFilter::~ChildHistogramMessageFilter() {
}
-void ChildHistogramMessageFilter::OnFilterAdded(IPC::Channel* channel) {
- channel_ = channel;
+void ChildHistogramMessageFilter::OnFilterAdded(IPC::Sender* sender) {
+ sender_ = sender;
}
void ChildHistogramMessageFilter::OnFilterRemoved() {
@@ -60,7 +60,7 @@ void ChildHistogramMessageFilter::UploadAllHistograms(int sequence_number) {
std::vector<std::string> deltas;
histogram_delta_serialization_->PrepareAndSerializeDeltas(&deltas);
- channel_->Send(
+ sender_->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