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

Unified Diff: chrome/browser/chrome_net_benchmarking_message_filter.cc

Issue 142923005: Allow MessageFilters to restrict listening to specific message classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 10 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: chrome/browser/chrome_net_benchmarking_message_filter.cc
diff --git a/chrome/browser/chrome_net_benchmarking_message_filter.cc b/chrome/browser/chrome_net_benchmarking_message_filter.cc
index a287a041be2fb019b6f8fbf5a5e4021daf319d0d..5e18e5b7bccca0bd7752c4af3fd8dc6069396573 100644
--- a/chrome/browser/chrome_net_benchmarking_message_filter.cc
+++ b/chrome/browser/chrome_net_benchmarking_message_filter.cc
@@ -7,6 +7,7 @@
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/command_line.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/net/chrome_url_request_context.h"
#include "chrome/browser/net/predictor.h"
@@ -35,7 +36,8 @@ void ClearCacheCallback(ChromeNetBenchmarkingMessageFilter* filter,
ChromeNetBenchmarkingMessageFilter::ChromeNetBenchmarkingMessageFilter(
Profile* profile,
net::URLRequestContextGetter* request_context)
- : profile_(profile),
+ : BrowserMessageFilter(ChromeBenchmarkingMsgStart),
+ profile_(profile),
request_context_(request_context) {
}
« no previous file with comments | « build/android/pylib/gtest/filter/ipc_tests_disabled ('k') | chrome/browser/media/cast_transport_host_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698