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

Unified Diff: chrome/browser/ui/webui/ntp/suggestions_source_discovery.h

Issue 10392192: Remove content::URLFetcherDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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: chrome/browser/ui/webui/ntp/suggestions_source_discovery.h
diff --git a/chrome/browser/ui/webui/ntp/suggestions_source_discovery.h b/chrome/browser/ui/webui/ntp/suggestions_source_discovery.h
index ac7ae9b5303e37cbe19077667a4b556bdcd5bade..bcb00a0cebf3675b2303d06bb3aa02bc6ecd11b8 100644
--- a/chrome/browser/ui/webui/ntp/suggestions_source_discovery.h
+++ b/chrome/browser/ui/webui/ntp/suggestions_source_discovery.h
@@ -11,7 +11,7 @@
#include "chrome/browser/cancelable_request.h"
#include "chrome/browser/history/history_types.h"
#include "chrome/browser/ui/webui/ntp/suggestions_source.h"
-#include "content/public/common/url_fetcher_delegate.h"
+#include "net/url_request/url_fetcher_delegate.h"
class SuggestionsCombiner;
class Profile;
@@ -21,14 +21,18 @@ namespace base {
class DictionaryValue;
}
+namespace net {
+class URLFetcher;
+}
+
// A source that suggests websites the user might find interesting.
class SuggestionsSourceDiscovery : public SuggestionsSource,
- public content::URLFetcherDelegate {
+ public net::URLFetcherDelegate {
public:
SuggestionsSourceDiscovery();
virtual ~SuggestionsSourceDiscovery();
- // content::URLFetcherDelegate override and implementation.
+ // net::URLFetcherDelegate override and implementation.
virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
protected:
@@ -47,7 +51,7 @@ class SuggestionsSourceDiscovery : public SuggestionsSource,
std::deque<base::DictionaryValue*> items_;
// Fetcher for the recommended pages.
- scoped_ptr<content::URLFetcher> recommended_fetcher_;
+ scoped_ptr<net::URLFetcher> recommended_fetcher_;
DISALLOW_COPY_AND_ASSIGN(SuggestionsSourceDiscovery);
};

Powered by Google App Engine
This is Rietveld 408576698