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

Side by Side Diff: content/browser/geolocation/geolocation_dispatcher_host.cc

Issue 165333004: Revert "Allow MessageFilters to restrict listening to specific message classes" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/geolocation/geolocation_dispatcher_host.h" 5 #include "content/browser/geolocation/geolocation_dispatcher_host.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 288
289 // static 289 // static
290 GeolocationDispatcherHost* GeolocationDispatcherHost::New( 290 GeolocationDispatcherHost* GeolocationDispatcherHost::New(
291 int render_process_id, 291 int render_process_id,
292 GeolocationPermissionContext* geolocation_permission_context) { 292 GeolocationPermissionContext* geolocation_permission_context) {
293 return new GeolocationDispatcherHostImpl( 293 return new GeolocationDispatcherHostImpl(
294 render_process_id, 294 render_process_id,
295 geolocation_permission_context); 295 geolocation_permission_context);
296 } 296 }
297 297
298 GeolocationDispatcherHost::GeolocationDispatcherHost() 298 GeolocationDispatcherHost::GeolocationDispatcherHost() {
299 : BrowserMessageFilter(GeolocationMsgStart) {
300 } 299 }
301 300
302 GeolocationDispatcherHost::~GeolocationDispatcherHost() { 301 GeolocationDispatcherHost::~GeolocationDispatcherHost() {
303 } 302 }
304 303
305 } // namespace content 304 } // namespace content
OLDNEW
« 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