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

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

Issue 8912009: Move BrowserMessageFilter to public, and into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/browser/browser_message_filter.h" 9 #include "content/public/browser/browser_message_filter.h"
10 10
11 class GeolocationPermissionContext; 11 class GeolocationPermissionContext;
12 12
13 // GeolocationDispatcherHost is a browser filter for Geolocation messages. 13 // GeolocationDispatcherHost is a browser filter for Geolocation messages.
14 // It's the complement of GeolocationDispatcher (owned by RenderView). 14 // It's the complement of GeolocationDispatcher (owned by RenderView).
15 class GeolocationDispatcherHost : public BrowserMessageFilter { 15 class GeolocationDispatcherHost : public content::BrowserMessageFilter {
16 public: 16 public:
17 static GeolocationDispatcherHost* New( 17 static GeolocationDispatcherHost* New(
18 int render_process_id, 18 int render_process_id,
19 GeolocationPermissionContext* geolocation_permission_context); 19 GeolocationPermissionContext* geolocation_permission_context);
20 20
21 protected: 21 protected:
22 GeolocationDispatcherHost() {} 22 GeolocationDispatcherHost() {}
23 virtual ~GeolocationDispatcherHost() {} 23 virtual ~GeolocationDispatcherHost() {}
24 24
25 DISALLOW_COPY_AND_ASSIGN(GeolocationDispatcherHost); 25 DISALLOW_COPY_AND_ASSIGN(GeolocationDispatcherHost);
26 }; 26 };
27 27
28 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_ 28 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698