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

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

Issue 6677096: Move a bunch of files from chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 "chrome/common/geoposition.h"
12 #include "chrome/common/render_messages.h" 11 #include "chrome/common/render_messages.h"
13 #include "content/browser/geolocation/geolocation_permission_context.h" 12 #include "content/browser/geolocation/geolocation_permission_context.h"
14 #include "content/browser/geolocation/geolocation_provider.h" 13 #include "content/browser/geolocation/geolocation_provider.h"
15 #include "content/browser/renderer_host/render_message_filter.h" 14 #include "content/browser/renderer_host/render_message_filter.h"
16 #include "content/browser/renderer_host/render_process_host.h" 15 #include "content/browser/renderer_host/render_process_host.h"
17 #include "content/browser/renderer_host/render_view_host.h" 16 #include "content/browser/renderer_host/render_view_host.h"
17 #include "content/common/geoposition.h"
18 18
19 namespace { 19 namespace {
20 class GeolocationDispatcherHostImpl : public GeolocationDispatcherHost, 20 class GeolocationDispatcherHostImpl : public GeolocationDispatcherHost,
21 public GeolocationObserver { 21 public GeolocationObserver {
22 public: 22 public:
23 GeolocationDispatcherHostImpl( 23 GeolocationDispatcherHostImpl(
24 int render_process_id, 24 int render_process_id,
25 GeolocationPermissionContext* geolocation_permission_context); 25 GeolocationPermissionContext* geolocation_permission_context);
26 26
27 // GeolocationDispatcherHost 27 // GeolocationDispatcherHost
(...skipping 149 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/geolocation/core_location_provider_mac.h ('k') | content/browser/geolocation/geolocation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698