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

Side by Side Diff: content/public/browser/geolocation.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_GEOLOCATION_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_GEOLOCATION_H_
6 #define CONTENT_PUBLIC_BROWSER_GEOLOCATION_H_ 6 #define CONTENT_PUBLIC_BROWSER_GEOLOCATION_H_
7 #pragma once
8 7
9 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
10 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
11 10
12 namespace content { 11 namespace content {
13 12
14 struct Geoposition; 13 struct Geoposition;
15 14
16 typedef base::Callback<void(const Geoposition&)> GeolocationUpdateCallback; 15 typedef base::Callback<void(const Geoposition&)> GeolocationUpdateCallback;
17 16
(...skipping 15 matching lines...) Expand all
33 32
34 // Requests a one-time callback when the next location update becomes available. 33 // Requests a one-time callback when the next location update becomes available.
35 // This function may be called on any thread. The callback will be invoked on 34 // This function may be called on any thread. The callback will be invoked on
36 // the calling thread. 35 // the calling thread.
37 void CONTENT_EXPORT RequestLocationUpdate( 36 void CONTENT_EXPORT RequestLocationUpdate(
38 const GeolocationUpdateCallback& callback); 37 const GeolocationUpdateCallback& callback);
39 38
40 } // namespace content 39 } // namespace content
41 40
42 #endif // CONTENT_PUBLIC_BROWSER_GEOLOCATION_H_ 41 #endif // CONTENT_PUBLIC_BROWSER_GEOLOCATION_H_
OLDNEW
« no previous file with comments | « content/public/browser/favicon_status.h ('k') | content/public/browser/geolocation_permission_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698