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

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

Issue 8171006: Fix gps.h license issue, by deleting it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update checklicenses.py Created 9 years, 2 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 6ed6c4049cffe2d2a42a7bdcc8ce454521fa2275..4ef81515b9758abf96ccbfe1c19b62449a444c95 100644
--- a/content/browser/geolocation/libgps_wrapper_linux.h
+++ b/content/browser/geolocation/libgps_wrapper_linux.h
@@ -53,7 +53,6 @@ class CONTENT_EXPORT LibGps {
// libgps API versions (v2.38 => libgps.so.17, v2.94 => libgps.so.19).
// See LibGps::New() for the public API to this.
// Takes ownership of |dl_wrapper|.
- static LibGps* NewV238(LibGpsLibraryWrapper* dl_wrapper);
static LibGps* NewV294(LibGpsLibraryWrapper* dl_wrapper);
scoped_ptr<LibGpsLibraryWrapper> library_;
@@ -71,8 +70,6 @@ class CONTENT_EXPORT LibGpsLibraryWrapper {
typedef gps_data_t* (*gps_open_fn)(const char*, const char*);
typedef int (*gps_close_fn)(gps_data_t*);
typedef int (*gps_poll_fn)(gps_data_t*);
- // v2.34 only
- typedef int (*gps_query_fn)(gps_data_t*, const char*, ...);
// v2.90+
typedef int (*gps_stream_fn)(gps_data_t*, unsigned int, void*);
typedef bool (*gps_waiting_fn)(gps_data_t*);
@@ -81,7 +78,6 @@ class CONTENT_EXPORT LibGpsLibraryWrapper {
gps_open_fn gps_open,
gps_close_fn gps_close,
gps_poll_fn gps_poll,
- gps_query_fn gps_query,
gps_stream_fn gps_stream,
gps_waiting_fn gps_waiting);
~LibGpsLibraryWrapper();
@@ -90,7 +86,6 @@ class CONTENT_EXPORT LibGpsLibraryWrapper {
bool open(const char* host, const char* port);
void close();
int poll();
- int query(const char* fmt);
int stream(int flags);
bool waiting();
const gps_data_t& data() const;
@@ -101,7 +96,6 @@ class CONTENT_EXPORT LibGpsLibraryWrapper {
gps_open_fn gps_open_;
gps_close_fn gps_close_;
gps_poll_fn gps_poll_;
- gps_query_fn gps_query_;
gps_stream_fn gps_stream_;
gps_waiting_fn gps_waiting_;

Powered by Google App Engine
This is Rietveld 408576698