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

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

Issue 6597044: Revert 76228 - Move core pieces of geolocation from chrome to content.This is... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_
7 #pragma once
8
9 #include "content/browser/browser_message_filter.h"
10
11 class GeolocationPermissionContext;
12
13 // GeolocationDispatcherHost is a browser filter for Geolocation messages.
14 // It's the complement of GeolocationDispatcher (owned by RenderView).
15
16 class GeolocationDispatcherHost : public BrowserMessageFilter {
17 public:
18 static GeolocationDispatcherHost* New(
19 int render_process_id,
20 GeolocationPermissionContext* geolocation_permission_context);
21
22 virtual bool OnMessageReceived(const IPC::Message& msg, bool* msg_was_ok) = 0;
23
24 protected:
25 GeolocationDispatcherHost() {}
26 virtual ~GeolocationDispatcherHost() {}
27
28 DISALLOW_COPY_AND_ASSIGN(GeolocationDispatcherHost);
29 };
30
31 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/gateway_data_provider_win.cc ('k') | content/browser/geolocation/geolocation_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698