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

Unified Diff: chrome/browser/chromeos/customization_document.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/customization_document.h
===================================================================
--- chrome/browser/chromeos/customization_document.h (revision 106929)
+++ chrome/browser/chromeos/customization_document.h (working copy)
@@ -13,7 +13,7 @@
#include "base/memory/singleton.h"
#include "base/timer.h"
#include "base/values.h"
-#include "content/common/net/url_fetcher.h"
+#include "content/public/common/url_fetcher_delegate.h"
#include "googleurl/src/gurl.h"
class FilePath;
@@ -111,7 +111,7 @@
// the manifest should be initiated outside this class by calling
// StartFetching() method. User of the file should check IsReady before use it.
class ServicesCustomizationDocument : public CustomizationDocument,
- private URLFetcher::Delegate {
+ private content::URLFetcherDelegate {
public:
static ServicesCustomizationDocument* GetInstance();
@@ -148,13 +148,8 @@
// Save applied state in machine settings.
static void SetApplied(bool val);
- // Overriden 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);
+ // Overriden from content::URLFetcherDelegate:
+ virtual void OnURLFetchComplete(const URLFetcher* source);
// Initiate file fetching.
void StartFileFetch();

Powered by Google App Engine
This is Rietveld 408576698