diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-11 05:32:23 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-11 05:32:23 +0000 |
commit | 10c2d69eef670a8870a53c5a0afee74810d416d6 (patch) | |
tree | c7b102852b40953ebb1da5ecce5f2a9cab0eccdb /content/browser/geolocation | |
parent | 8623b0f992684cf2bca8fc27f733ad1c31cdd8f8 (diff) | |
download | chromium_src-10c2d69eef670a8870a53c5a0afee74810d416d6.zip chromium_src-10c2d69eef670a8870a53c5a0afee74810d416d6.tar.gz chromium_src-10c2d69eef670a8870a53c5a0afee74810d416d6.tar.bz2 |
Move URLFetcherDelegate to net/ and split URLFetcher between net/ and content/
Temporarily make a shim content::URLFetcherDelegate class. A future CL
will replace all instances of content::URLFetcherDelegate with
net::URLFetcherDelegate and remove that class.
Move most URLFetcher methods to net::URLFetcher, except for the static
methods (which will be handled in a future CL) and AssociateWithRenderView,
which is content-specific.
Replace all instances of content::URLFetcher* in the URLFetcherDelegate
callbacks with net::URLFetcher* (except for rlz, which required its own special hack).
BUG=118220
TEST=
TBR=mnissler@chromium.org,jhawkins@chromium.org,cpu@chromium.org,estade@chromium.org,sky@chromium.org,joth@chromium.org,satish@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10386063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136514 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation')
-rw-r--r-- | content/browser/geolocation/network_location_request.cc | 2 | ||||
-rw-r--r-- | content/browser/geolocation/network_location_request.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/geolocation/network_location_request.cc b/content/browser/geolocation/network_location_request.cc index 3ea8def..71eb08f 100644 --- a/content/browser/geolocation/network_location_request.cc +++ b/content/browser/geolocation/network_location_request.cc @@ -100,7 +100,7 @@ bool NetworkLocationRequest::MakeRequest(const string16& access_token, } void NetworkLocationRequest::OnURLFetchComplete( - const content::URLFetcher* source) { + const net::URLFetcher* source) { DCHECK_EQ(url_fetcher_.get(), source); net::URLRequestStatus status = source->GetStatus(); diff --git a/content/browser/geolocation/network_location_request.h b/content/browser/geolocation/network_location_request.h index f75d59d..31d6e6e 100644 --- a/content/browser/geolocation/network_location_request.h +++ b/content/browser/geolocation/network_location_request.h @@ -64,7 +64,7 @@ class NetworkLocationRequest : private content::URLFetcherDelegate { private: // content::URLFetcherDelegate - virtual void OnURLFetchComplete(const content::URLFetcher* source) OVERRIDE; + virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; scoped_refptr<net::URLRequestContextGetter> url_context_; ListenerInterface* listener_; |