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

Side by Side Diff: content/public/common/geoposition.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
« no previous file with comments | « content/public/common/frame_navigate_params.h ('k') | content/public/common/gpu_feature_type.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // 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_
11 #pragma once
12 11
13 #include <string> 12 #include <string>
14 13
15 #include "base/time.h" 14 #include "base/time.h"
16 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
17 16
18 namespace content { 17 namespace content {
19 18
20 struct CONTENT_EXPORT Geoposition { 19 struct CONTENT_EXPORT Geoposition {
21 public: 20 public:
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 57
59 // Error code, see enum above. 58 // Error code, see enum above.
60 ErrorCode error_code; 59 ErrorCode error_code;
61 // Human-readable error message. 60 // Human-readable error message.
62 std::string error_message; 61 std::string error_message;
63 }; 62 };
64 63
65 } // namespace content 64 } // namespace content
66 65
67 #endif // CONTENT_COMMON_GEOPOSITION_H_ 66 #endif // CONTENT_COMMON_GEOPOSITION_H_
OLDNEW
« no previous file with comments | « content/public/common/frame_navigate_params.h ('k') | content/public/common/gpu_feature_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698