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

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

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 #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
11 #include "content/browser/geolocation/geolocation_permission_context.h" 11 #include "content/browser/geolocation/geolocation_permission_context.h"
12 #include "content/browser/geolocation/geolocation_provider.h" 12 #include "content/browser/geolocation/geolocation_provider.h"
13 #include "content/browser/renderer_host/render_message_filter.h" 13 #include "content/browser/renderer_host/render_message_filter.h"
14 #include "content/browser/renderer_host/render_process_host.h" 14 #include "content/browser/renderer_host/render_process_host_impl.h"
15 #include "content/browser/renderer_host/render_view_host.h" 15 #include "content/browser/renderer_host/render_view_host.h"
16 #include "content/common/geolocation_messages.h" 16 #include "content/common/geolocation_messages.h"
17 #include "content/common/geoposition.h" 17 #include "content/common/geoposition.h"
18 18
19 using content::BrowserThread; 19 using content::BrowserThread;
20 20
21 namespace { 21 namespace {
22 class GeolocationDispatcherHostImpl : public GeolocationDispatcherHost, 22 class GeolocationDispatcherHostImpl : public GeolocationDispatcherHost,
23 public GeolocationObserver { 23 public GeolocationObserver {
24 public: 24 public:
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 } 177 }
178 } // namespace 178 } // namespace
179 179
180 GeolocationDispatcherHost* GeolocationDispatcherHost::New( 180 GeolocationDispatcherHost* GeolocationDispatcherHost::New(
181 int render_process_id, 181 int render_process_id,
182 GeolocationPermissionContext* geolocation_permission_context) { 182 GeolocationPermissionContext* geolocation_permission_context) {
183 return new GeolocationDispatcherHostImpl( 183 return new GeolocationDispatcherHostImpl(
184 render_process_id, 184 render_process_id,
185 geolocation_permission_context); 185 geolocation_permission_context);
186 } 186 }
OLDNEW
« no previous file with comments | « content/browser/download/save_package.cc ('k') | content/browser/gpu/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698