| Index: chrome/browser/supervised_user/supervised_user_service.cc
|
| diff --git a/chrome/browser/supervised_user/supervised_user_service.cc b/chrome/browser/supervised_user/supervised_user_service.cc
|
| index 519484c03963ea23a830b0d6dbff929b291e3cc5..66662cbce4a4e65eb9c3b67896722ce018adbef1 100644
|
| --- a/chrome/browser/supervised_user/supervised_user_service.cc
|
| +++ b/chrome/browser/supervised_user/supervised_user_service.cc
|
| @@ -18,7 +18,6 @@
|
| #include "build/build_config.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/component_updater/supervised_user_whitelist_installer.h"
|
| -#include "chrome/browser/net/file_downloader.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_attributes_entry.h"
|
| #include "chrome/browser/profiles/profile_attributes_storage.h"
|
| @@ -853,10 +852,11 @@ void SupervisedUserService::LoadBlacklistFromFile(const base::FilePath& path) {
|
| base::Unretained(this)));
|
| }
|
|
|
| -void SupervisedUserService::OnBlacklistDownloadDone(const base::FilePath& path,
|
| - bool success) {
|
| +void SupervisedUserService::OnBlacklistDownloadDone(
|
| + const base::FilePath& path,
|
| + FileDownloader::Result result) {
|
| DCHECK(blacklist_state_ == BlacklistLoadState::LOAD_STARTED);
|
| - if (success) {
|
| + if (FileDownloader::IsSuccess(result)) {
|
| LoadBlacklistFromFile(path);
|
| } else {
|
| LOG(WARNING) << "Blacklist download failed";
|
|
|