From 1ffba14a1947d0613e84e28c7eb476e3dabf3531 Mon Sep 17 00:00:00 2001 From: "skuhne@chromium.org" Date: Wed, 8 Jan 2014 19:21:02 +0000 Subject: Removing GetDefaultProfile from CustomizationDocument BUG=322682 TEST=covered by existing unit tests Review URL: https://codereview.chromium.org/102973008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243626 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chromeos/customization_document.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/chrome/browser/chromeos/customization_document.cc b/chrome/browser/chromeos/customization_document.cc index 16fac0a..f61cc86 100644 --- a/chrome/browser/chromeos/customization_document.cc +++ b/chrome/browser/chromeos/customization_document.cc @@ -17,7 +17,6 @@ #include "base/time/time.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/chromeos/login/wizard_controller.h" -#include "chrome/browser/profiles/profile_manager.h" #include "chromeos/network/network_state.h" #include "chromeos/network/network_state_handler.h" #include "chromeos/system/statistics_provider.h" @@ -297,8 +296,7 @@ void ServicesCustomizationDocument::StartFileFetch() { DCHECK(url_.is_valid()); url_fetcher_.reset(net::URLFetcher::Create( url_, net::URLFetcher::GET, this)); - url_fetcher_->SetRequestContext( - ProfileManager::GetDefaultProfile()->GetRequestContext()); + url_fetcher_->SetRequestContext(g_browser_process->system_request_context()); url_fetcher_->Start(); } -- cgit v1.1