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

Unified Diff: chrome/browser/chromeos/profiles/profile_helper.cc

Issue 2697123004: Convert RemoveDataMask from enum to pointers and split it between content and embedder (Closed)
Patch Set: Android compilation Created 3 years, 10 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/profiles/profile_helper.cc
diff --git a/chrome/browser/chromeos/profiles/profile_helper.cc b/chrome/browser/chromeos/profiles/profile_helper.cc
index bb90818647f3a1271b15a645ba1931c58c5389d5..d42763827948f5f24b9b5334fb15f77e0201f3d0 100644
--- a/chrome/browser/chromeos/profiles/profile_helper.cc
+++ b/chrome/browser/chromeos/profiles/profile_helper.cc
@@ -12,6 +12,7 @@
#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_types.h"
#include "chrome/browser/chromeos/base/file_flusher.h"
#include "chrome/browser/chromeos/login/helper.h"
#include "chrome/browser/chromeos/login/signin/oauth2_login_manager_factory.h"
@@ -262,9 +263,9 @@ void ProfileHelper::ClearSigninProfile(const base::Closure& on_clear_callback) {
browsing_data_remover_ =
BrowsingDataRemoverFactory::GetForBrowserContext(GetSigninProfile());
browsing_data_remover_->AddObserver(this);
- browsing_data_remover_->RemoveAndReply(
- base::Time(), base::Time::Max(), BrowsingDataRemover::REMOVE_SITE_DATA,
- BrowsingDataHelper::ALL, this);
+ browsing_data_remover_->RemoveAndReply(base::Time(), base::Time::Max(),
+ BrowsingDataTypeSetSiteData(),
+ BrowsingDataHelper::ALL, this);
} else {
on_clear_profile_stage_finished_.Run();
}

Powered by Google App Engine
This is Rietveld 408576698