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

Unified Diff: content/browser/geolocation/libgps_wrapper_linux.h

Issue 10316007: Make the Geoposition helper class public (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix forward-declaration of struct as class. Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/geolocation/libgps_wrapper_linux.h
diff --git a/content/browser/geolocation/libgps_wrapper_linux.h b/content/browser/geolocation/libgps_wrapper_linux.h
index 884055190abc2c82af0104bb272faf49a864fde3..82b438b512b1d72973a99e48d3761e9d551ca950 100644
--- a/content/browser/geolocation/libgps_wrapper_linux.h
+++ b/content/browser/geolocation/libgps_wrapper_linux.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -14,7 +14,10 @@
#include "content/common/content_export.h"
struct gps_data_t;
+
+namespace content {
struct Geoposition;
+}
class CONTENT_EXPORT LibGps {
public:
@@ -25,7 +28,7 @@ class CONTENT_EXPORT LibGps {
bool Start();
void Stop();
- bool Read(Geoposition* position);
+ bool Read(content::Geoposition* position);
protected:
typedef int (*gps_open_fn)(const char*, const char*, struct gps_data_t*);
@@ -38,7 +41,7 @@ class CONTENT_EXPORT LibGps {
gps_read_fn gps_read);
// Returns false if there is not fix available.
- virtual bool GetPositionIfFixed(Geoposition* position);
+ virtual bool GetPositionIfFixed(content::Geoposition* position);
private:
void* dl_handle_;

Powered by Google App Engine
This is Rietveld 408576698