| OLD | NEW |
| 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 // 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, but adds: | 6 // API provided by that package, but adds: |
| 7 // - shared object dynamic loading | 7 // - shared object dynamic loading |
| 8 // - support for (and abstraction from) different libgps.so versions | 8 // - support for (and abstraction from) different libgps.so versions |
| 9 // - configurable for testing | 9 // - configurable for testing |
| 10 // - more convenient error handling. | 10 // - more convenient error handling. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 gps_query_fn gps_query_; | 103 gps_query_fn gps_query_; |
| 104 gps_stream_fn gps_stream_; | 104 gps_stream_fn gps_stream_; |
| 105 gps_waiting_fn gps_waiting_; | 105 gps_waiting_fn gps_waiting_; |
| 106 | 106 |
| 107 gps_data_t* gps_data_; | 107 gps_data_t* gps_data_; |
| 108 | 108 |
| 109 DISALLOW_COPY_AND_ASSIGN(LibGpsLibraryWrapper); | 109 DISALLOW_COPY_AND_ASSIGN(LibGpsLibraryWrapper); |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 #endif // CHROME_BROWSER_GEOLOCATION_LIBGPS_WRAPPER_LINUX_H_ | 112 #endif // CHROME_BROWSER_GEOLOCATION_LIBGPS_WRAPPER_LINUX_H_ |
| OLD | NEW |