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

Side by Side Diff: content/browser/geolocation/libgps_wrapper_linux.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 // 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
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_
OLDNEW
« no previous file with comments | « content/browser/geolocation/gps_location_provider_linux.h ('k') | content/browser/geolocation/location_api_adapter_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698