summaryrefslogtreecommitdiffstats
path: root/chrome/browser/translate/translate_manager.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 05:32:23 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 05:32:23 +0000
commit10c2d69eef670a8870a53c5a0afee74810d416d6 (patch)
treec7b102852b40953ebb1da5ecce5f2a9cab0eccdb /chrome/browser/translate/translate_manager.h
parent8623b0f992684cf2bca8fc27f733ad1c31cdd8f8 (diff)
downloadchromium_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 'chrome/browser/translate/translate_manager.h')
-rw-r--r--chrome/browser/translate/translate_manager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/translate/translate_manager.h b/chrome/browser/translate/translate_manager.h
index 5646795..3ee3c83 100644
--- a/chrome/browser/translate/translate_manager.h
+++ b/chrome/browser/translate/translate_manager.h
@@ -18,9 +18,9 @@
#include "base/time.h"
#include "chrome/browser/prefs/pref_change_registrar.h"
#include "chrome/common/translate_errors.h"
-#include "content/public/common/url_fetcher_delegate.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "content/public/common/url_fetcher_delegate.h"
template <typename T> struct DefaultSingletonTraits;
class GURL;
@@ -80,7 +80,7 @@ class TranslateManager : public content::NotificationObserver,
const content::NotificationDetails& details) OVERRIDE;
// content::URLFetcherDelegate implementation:
- virtual void OnURLFetchComplete(const content::URLFetcher* source) OVERRIDE;
+ virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
// Used by unit-tests to override the default delay after which the translate
// script is fetched again from the translation server.