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

Unified Diff: content/browser/geolocation/network_location_request.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/network_location_request.h
diff --git a/content/browser/geolocation/network_location_request.h b/content/browser/geolocation/network_location_request.h
index 52d7905d4a10a7227c8fba697cc3842e87d48cc0..f75d59d5a930c31e5143c36d5179dca7aeb983f6 100644
--- a/content/browser/geolocation/network_location_request.h
+++ b/content/browser/geolocation/network_location_request.h
@@ -14,9 +14,12 @@
#include "content/public/common/url_fetcher_delegate.h"
#include "googleurl/src/gurl.h"
-struct Geoposition;
class URLFetcher;
+namespace content {
+struct Geoposition;
+}
+
namespace net {
class URLRequestContextGetter;
}
@@ -33,7 +36,7 @@ class NetworkLocationRequest : private content::URLFetcherDelegate {
// Updates the listener with a new position. server_error indicates whether
// was a server or network error - either no response or a 500 error code.
virtual void LocationResponseAvailable(
- const Geoposition& position,
+ const content::Geoposition& position,
bool server_error,
const string16& access_token,
const RadioData& radio_data,

Powered by Google App Engine
This is Rietveld 408576698