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

Unified Diff: content/browser/geolocation/geolocation_dispatcher_host.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: content/browser/geolocation/geolocation_dispatcher_host.cc
diff --git a/content/browser/geolocation/geolocation_dispatcher_host.cc b/content/browser/geolocation/geolocation_dispatcher_host.cc
index e461e63464df619e0219e79c9dd8bb804c95b9c9..edb2692f36f232894ace3e678a8a17d9ec4c43d8 100644
--- a/content/browser/geolocation/geolocation_dispatcher_host.cc
+++ b/content/browser/geolocation/geolocation_dispatcher_host.cc
@@ -295,7 +295,8 @@ GeolocationDispatcherHost* GeolocationDispatcherHost::New(
geolocation_permission_context);
}
-GeolocationDispatcherHost::GeolocationDispatcherHost() {
+GeolocationDispatcherHost::GeolocationDispatcherHost()
+ : BrowserMessageFilter(GeolocationMsgStart) {
}
GeolocationDispatcherHost::~GeolocationDispatcherHost() {
« no previous file with comments | « content/browser/frame_host/render_frame_message_filter.cc ('k') | content/browser/histogram_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698