| 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 924885448806bb7ba8d817e5feb8d533e0403cc6..9c78ac6eda461060c441b3d53a37da14b144889e 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"
|
| @@ -839,10 +838,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";
|
|
|