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

Unified Diff: chrome/browser/chromeos/customization_document.h

Issue 10392192: Remove content::URLFetcherDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup 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
« no previous file with comments | « chrome/browser/chrome_to_mobile_service.cc ('k') | chrome/browser/chromeos/gdata/gdata_auth_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/customization_document.h
diff --git a/chrome/browser/chromeos/customization_document.h b/chrome/browser/chromeos/customization_document.h
index aef946c580d72a16ecab48cbd9e237b702d305a1..37bddd63a35d3ca34219ae2589c8de7867dc506e 100644
--- a/chrome/browser/chromeos/customization_document.h
+++ b/chrome/browser/chromeos/customization_document.h
@@ -14,8 +14,8 @@
#include "base/memory/singleton.h"
#include "base/timer.h"
#include "base/values.h"
-#include "content/public/common/url_fetcher_delegate.h"
#include "googleurl/src/gurl.h"
+#include "net/url_request/url_fetcher_delegate.h"
class FilePath;
class PrefService;
@@ -24,6 +24,10 @@ namespace base {
class DictionaryValue;
}
+namespace net {
+class URLFetcher;
+}
+
namespace chromeos {
namespace system {
@@ -111,7 +115,7 @@ class StartupCustomizationDocument : public CustomizationDocument {
// 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 content::URLFetcherDelegate {
+ private net::URLFetcherDelegate {
public:
static ServicesCustomizationDocument* GetInstance();
@@ -148,7 +152,7 @@ class ServicesCustomizationDocument : public CustomizationDocument,
// Save applied state in machine settings.
static void SetApplied(bool val);
- // Overriden from content::URLFetcherDelegate:
+ // Overriden from net::URLFetcherDelegate:
virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
// Initiate file fetching.
@@ -161,7 +165,7 @@ class ServicesCustomizationDocument : public CustomizationDocument,
GURL url_;
// URLFetcher instance.
- scoped_ptr<content::URLFetcher> url_fetcher_;
+ scoped_ptr<net::URLFetcher> url_fetcher_;
// Timer to retry fetching file if network is not available.
base::OneShotTimer<ServicesCustomizationDocument> retry_timer_;
« no previous file with comments | « chrome/browser/chrome_to_mobile_service.cc ('k') | chrome/browser/chromeos/gdata/gdata_auth_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698