| Index: chrome/browser/chromeos/profiles/profile_helper.cc
|
| diff --git a/chrome/browser/chromeos/profiles/profile_helper.cc b/chrome/browser/chromeos/profiles/profile_helper.cc
|
| index a319f9b7add50b1462b34c30e536113acea02252..ce167e6e44e1025084ea0e8be232c59052a2f962 100644
|
| --- a/chrome/browser/chromeos/profiles/profile_helper.cc
|
| +++ b/chrome/browser/chromeos/profiles/profile_helper.cc
|
| @@ -10,8 +10,7 @@
|
| #include "base/strings/string_util.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/browsing_data/browsing_data_helper.h"
|
| -#include "chrome/browser/browsing_data/browsing_data_remover.h"
|
| -#include "chrome/browser/browsing_data/browsing_data_remover_factory.h"
|
| +
|
| #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.h"
|
| #include "chrome/browser/chromeos/base/file_flusher.h"
|
| #include "chrome/browser/chromeos/login/helper.h"
|
| @@ -30,6 +29,7 @@
|
| #include "components/user_manager/user.h"
|
| #include "components/user_manager/user_manager.h"
|
| #include "content/public/browser/browser_thread.h"
|
| +#include "content/public/browser/browsing_data_remover.h"
|
| #include "content/public/browser/storage_partition.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "extensions/browser/guest_view/web_view/web_view_guest.h"
|
| @@ -261,7 +261,7 @@ void ProfileHelper::ClearSigninProfile(const base::Closure& on_clear_callback) {
|
| if (profile_manager->GetProfileByPath(GetSigninProfileDir())) {
|
| LOG_ASSERT(!browsing_data_remover_);
|
| browsing_data_remover_ =
|
| - BrowsingDataRemoverFactory::GetForBrowserContext(GetSigninProfile());
|
| + content::BrowserContext::GetBrowsingDataRemover(GetSigninProfile());
|
| browsing_data_remover_->AddObserver(this);
|
| browsing_data_remover_->RemoveAndReply(
|
| base::Time(), base::Time::Max(),
|
| @@ -403,7 +403,7 @@ void ProfileHelper::OnSigninProfileCleared() {
|
| }
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
| -// ProfileHelper, BrowsingDataRemover::Observer implementation:
|
| +// ProfileHelper, content::BrowsingDataRemover::Observer implementation:
|
|
|
| void ProfileHelper::OnBrowsingDataRemoverDone() {
|
| LOG_ASSERT(browsing_data_remover_);
|
|
|