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

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

Issue 8373021: Convert URLFetcher::Delegates to use an interface in content/public/common. Also remove the old U... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync and remove unncessary forward declares 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/network_location_request.h
===================================================================
--- content/browser/geolocation/network_location_request.h (revision 106929)
+++ content/browser/geolocation/network_location_request.h (working copy)
@@ -13,7 +13,7 @@
#include "base/memory/scoped_ptr.h"
#include "content/browser/geolocation/device_data_provider.h"
#include "content/common/content_export.h"
-#include "content/common/net/url_fetcher.h"
+#include "content/public/common/url_fetcher_delegate.h"
#include "googleurl/src/gurl.h"
class URLFetcher;
@@ -27,7 +27,7 @@
// Takes a set of device data and sends it to a server to get a position fix.
// It performs formatting of the request and interpretation of the response.
-class NetworkLocationRequest : private URLFetcher::Delegate {
+class NetworkLocationRequest : private content::URLFetcherDelegate {
public:
// ID passed to URLFetcher::Create(). Used for testing.
CONTENT_EXPORT static int url_fetcher_id_for_tests;
@@ -65,7 +65,7 @@
const GURL& url() const { return url_; }
private:
- // URLFetcher::Delegate
+ // content::URLFetcherDelegate
virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
scoped_refptr<net::URLRequestContextGetter> url_context_;

Powered by Google App Engine
This is Rietveld 408576698