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

Unified Diff: chrome/browser/chromeos/login/cookie_fetcher.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: chrome/browser/chromeos/login/cookie_fetcher.h
===================================================================
--- chrome/browser/chromeos/login/cookie_fetcher.h (revision 106929)
+++ chrome/browser/chromeos/login/cookie_fetcher.h (working copy)
@@ -12,8 +12,8 @@
#include "chrome/browser/chromeos/login/auth_response_handler.h"
#include "chrome/browser/chromeos/login/client_login_response_handler.h"
#include "chrome/browser/chromeos/login/issue_response_handler.h"
-#include "content/common/net/url_fetcher.h"
+
class Profile;
namespace chromeos {
@@ -23,7 +23,7 @@
//
// A CookieFetcher manages its own lifecycle. It deletes itself once it's
// done attempting to fetch URLs.
-class CookieFetcher : public URLFetcher::Delegate {
+class CookieFetcher : public content::URLFetcherDelegate {
public:
// |profile| is the Profile whose cookie jar you want the cookies in.
explicit CookieFetcher(Profile* profile);
@@ -41,13 +41,8 @@
// Either way, we end up by calling launcher_->DoLaunch()
void AttemptFetch(const std::string& credentials);
- // Overloaded from URLFetcher::Delegate.
- virtual void OnURLFetchComplete(const URLFetcher* source,
- const GURL& url,
- const net::URLRequestStatus& status,
- int response_code,
- const net::ResponseCookies& cookies,
- const std::string& data);
+ // Overloaded from content::URLFetcherDelegate.
+ virtual void OnURLFetchComplete(const URLFetcher* source);
private:
virtual ~CookieFetcher();

Powered by Google App Engine
This is Rietveld 408576698