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

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

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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) 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
8 7
9 #include "content/public/browser/browser_message_filter.h" 8 #include "content/public/browser/browser_message_filter.h"
10 9
11 namespace content { 10 namespace content {
12 class GeolocationPermissionContext; 11 class GeolocationPermissionContext;
13 } 12 }
14 13
15 // GeolocationDispatcherHost is a browser filter for Geolocation messages. 14 // GeolocationDispatcherHost is a browser filter for Geolocation messages.
16 // It's the complement of GeolocationDispatcher (owned by RenderView). 15 // It's the complement of GeolocationDispatcher (owned by RenderView).
17 class GeolocationDispatcherHost : public content::BrowserMessageFilter { 16 class GeolocationDispatcherHost : public content::BrowserMessageFilter {
18 public: 17 public:
19 static GeolocationDispatcherHost* New( 18 static GeolocationDispatcherHost* New(
20 int render_process_id, 19 int render_process_id,
21 content::GeolocationPermissionContext* geolocation_permission_context); 20 content::GeolocationPermissionContext* geolocation_permission_context);
22 21
23 protected: 22 protected:
24 GeolocationDispatcherHost() {} 23 GeolocationDispatcherHost() {}
25 virtual ~GeolocationDispatcherHost() {} 24 virtual ~GeolocationDispatcherHost() {}
26 25
27 DISALLOW_COPY_AND_ASSIGN(GeolocationDispatcherHost); 26 DISALLOW_COPY_AND_ASSIGN(GeolocationDispatcherHost);
28 }; 27 };
29 28
30 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_ 29 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/fake_access_token_store.h ('k') | content/browser/geolocation/geolocation_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698