diff options
author | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-02 12:25:55 +0000 |
---|---|---|
committer | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-02 12:25:55 +0000 |
commit | 9d274dce508da36dd586236d0a313a9bd7212c12 (patch) | |
tree | 79ae941765f5ea3a183be67600d8f021571b08e7 /chrome/browser/geolocation/libgps_wrapper_linux.h | |
parent | a7d741f037a118e2eaca628dc3fbbd61eb7211b1 (diff) | |
download | chromium_src-9d274dce508da36dd586236d0a313a9bd7212c12.zip chromium_src-9d274dce508da36dd586236d0a313a9bd7212c12.tar.gz chromium_src-9d274dce508da36dd586236d0a313a9bd7212c12.tar.bz2 |
Remove obsolete code:
- InformListenersOfMovement not required as WebKit has no way to trigger timeouts when movement is detected but cannot be resolved to a location.
- Error message in gps_open() does not have any additional information
Review URL: http://codereview.chromium.org/2450002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/geolocation/libgps_wrapper_linux.h')
-rw-r--r-- | chrome/browser/geolocation/libgps_wrapper_linux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/geolocation/libgps_wrapper_linux.h b/chrome/browser/geolocation/libgps_wrapper_linux.h index f49b20d..a2d9a0b 100644 --- a/chrome/browser/geolocation/libgps_wrapper_linux.h +++ b/chrome/browser/geolocation/libgps_wrapper_linux.h @@ -28,7 +28,7 @@ class LibGps { // failure. static LibGps* New(); - bool Start(std::string* error_out); + bool Start(); void Stop(); bool Poll(); bool GetPosition(Geoposition* position); @@ -80,7 +80,7 @@ class LibGpsLibraryLoader { bool Init(InitMode requirement); // Analogs of gps_xxx methods in gps.h - bool open(const char* host, const char* port, std::string* error_out); + bool open(const char* host, const char* port); void close(); int poll(); int query(const char* fmt); |