OLD | NEW |
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 // Defines a wrapper around the C libgps API (gps.h). Similar to the libgpsmm.h | 5 // Defines a wrapper around the C libgps API (gps.h). Similar to the libgpsmm.h |
6 // API provided by that package. | 6 // API provided by that package. |
7 | 7 |
8 #ifndef CONTENT_BROWSER_GEOLOCATION_LIBGPS_WRAPPER_LINUX_H_ | 8 #ifndef CONTENT_BROWSER_GEOLOCATION_LIBGPS_WRAPPER_LINUX_H_ |
9 #define CONTENT_BROWSER_GEOLOCATION_LIBGPS_WRAPPER_LINUX_H_ | 9 #define CONTENT_BROWSER_GEOLOCATION_LIBGPS_WRAPPER_LINUX_H_ |
10 #pragma once | |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
14 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
15 | 14 |
16 struct gps_data_t; | 15 struct gps_data_t; |
17 | 16 |
18 namespace content { | 17 namespace content { |
19 struct Geoposition; | 18 struct Geoposition; |
20 } | 19 } |
(...skipping 28 matching lines...) Expand all Loading... |
49 gps_close_fn gps_close_; | 48 gps_close_fn gps_close_; |
50 gps_read_fn gps_read_; | 49 gps_read_fn gps_read_; |
51 | 50 |
52 scoped_ptr<gps_data_t> gps_data_; | 51 scoped_ptr<gps_data_t> gps_data_; |
53 bool is_open_; | 52 bool is_open_; |
54 | 53 |
55 DISALLOW_COPY_AND_ASSIGN(LibGps); | 54 DISALLOW_COPY_AND_ASSIGN(LibGps); |
56 }; | 55 }; |
57 | 56 |
58 #endif // CONTENT_BROWSER_GEOLOCATION_LIBGPS_WRAPPER_LINUX_H_ | 57 #endif // CONTENT_BROWSER_GEOLOCATION_LIBGPS_WRAPPER_LINUX_H_ |
OLD | NEW |