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

Unified Diff: chrome/browser/chromeos/imageburner/burn_manager.cc

Issue 10554008: Move content::URLFetcher static functions to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win link error Created 8 years, 6 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/imageburner/burn_manager.cc
diff --git a/chrome/browser/chromeos/imageburner/burn_manager.cc b/chrome/browser/chromeos/imageburner/burn_manager.cc
index 775a2e0dcd01bc30629f84f83f546514eeaa988a..c2d035d96e28040d4e66b3e8e49a8bd2bbdcaa41 100644
--- a/chrome/browser/chromeos/imageburner/burn_manager.cc
+++ b/chrome/browser/chromeos/imageburner/burn_manager.cc
@@ -12,7 +12,7 @@
#include "chrome/browser/chromeos/system/statistics_provider.h"
#include "chrome/common/chrome_paths.h"
#include "content/public/browser/browser_thread.h"
-#include "content/public/common/url_fetcher.h"
+#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_status.h"
using content::BrowserThread;
@@ -281,7 +281,7 @@ void BurnManager::FetchConfigFile(Delegate* delegate) {
if (config_fetcher_.get())
return;
- config_fetcher_.reset(content::URLFetcher::Create(
+ config_fetcher_.reset(net::URLFetcher::Create(
config_file_url_, net::URLFetcher::GET, this));
config_fetcher_->SetRequestContext(
g_browser_process->system_request_context());
@@ -291,9 +291,9 @@ void BurnManager::FetchConfigFile(Delegate* delegate) {
void BurnManager::FetchImage(const GURL& image_url, const FilePath& file_path) {
tick_image_download_start_ = base::TimeTicks::Now();
bytes_image_download_progress_last_reported_ = 0;
- image_fetcher_.reset(content::URLFetcher::Create(image_url,
- net::URLFetcher::GET,
- this));
+ image_fetcher_.reset(net::URLFetcher::Create(image_url,
+ net::URLFetcher::GET,
+ this));
image_fetcher_->SetRequestContext(
g_browser_process->system_request_context());
image_fetcher_->SaveResponseToFileAtPath(
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_protocol_handler.cc ('k') | chrome/browser/chromeos/login/mock_url_fetchers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698