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

Side by Side Diff: chrome/browser/geolocation/geolocation_dispatcher_host_old.h

Issue 5744005: Revert rev 69137 due to incorrect change log. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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
(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 CHROME_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_OLD_H_
6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_OLD_H_
7 #pragma once
8
9 #include "base/ref_counted.h"
10
11 class GeolocationPermissionContext;
12 namespace IPC { class Message; }
13
14 // GeolocationDispatcherHostOld is a delegate for Geolocation messages used by
15 // ResourceMessageFilter.
16 // It's the complement of GeolocationDispatcher (owned by RenderView).
17
18 // TODO(jknotten): Remove this class once the new client-based implementation is
19 // checked in (see http://crbug.com/59908).
20 class GeolocationDispatcherHostOld
21 : public base::RefCountedThreadSafe<GeolocationDispatcherHostOld> {
22 public:
23 static GeolocationDispatcherHostOld* New(
24 int resource_message_filter_process_id,
25 GeolocationPermissionContext* geolocation_permission_context);
26
27 // Called to possibly handle the incoming IPC message. Returns true if
28 // handled. Called in the browser process.
29 virtual bool OnMessageReceived(const IPC::Message& msg, bool* msg_was_ok) = 0;
30
31 protected:
32 friend class base::RefCountedThreadSafe<GeolocationDispatcherHostOld>;
33 GeolocationDispatcherHostOld() {}
34 virtual ~GeolocationDispatcherHostOld() {}
35
36 DISALLOW_COPY_AND_ASSIGN(GeolocationDispatcherHostOld);
37 };
38
39 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_OLD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698