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 // This file declares the Geoposition structure, used to represent a position | 5 // This file declares the Geoposition structure, used to represent a position |
6 // fix. It was originally derived from: | 6 // fix. It was originally derived from: |
7 // http://gears.googlecode.com/svn/trunk/gears/geolocation/geolocation.h | 7 // http://gears.googlecode.com/svn/trunk/gears/geolocation/geolocation.h |
8 | 8 |
9 #ifndef CONTENT_PUBLIC_COMMON_GEOPOSITION_H_ | 9 #ifndef CONTENT_PUBLIC_COMMON_GEOPOSITION_H_ |
10 #define CONTENT_PUBLIC_COMMON_GEOPOSITION_H_ | 10 #define CONTENT_PUBLIC_COMMON_GEOPOSITION_H_ |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 base::Time timestamp; | 57 base::Time timestamp; |
58 | 58 |
59 // Error code, see enum above. | 59 // Error code, see enum above. |
60 ErrorCode error_code; | 60 ErrorCode error_code; |
61 // Human-readable error message. | 61 // Human-readable error message. |
62 std::string error_message; | 62 std::string error_message; |
63 }; | 63 }; |
64 | 64 |
65 } // namespace content | 65 } // namespace content |
66 | 66 |
67 #endif // CONTENT_COMMON_GEOPOSITION_H_ | 67 #endif // CONTENT_PUBLIC_COMMON_GEOPOSITION_H_ |
OLD | NEW |