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

Unified Diff: chrome/browser/ui/webui/options/clear_browser_data_handler.cc

Issue 2238453002: Merge //components/browsing_data_ui into //components/browsing_data/core (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase over https://codereview.chromium.org/2345843003/ Created 4 years, 3 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/ui/webui/options/clear_browser_data_handler.cc
diff --git a/chrome/browser/ui/webui/options/clear_browser_data_handler.cc b/chrome/browser/ui/webui/options/clear_browser_data_handler.cc
index fbdaf4ae3f2b6b1cf5b1090f7b5aee375d2f0c03..b12d01e42ab1d93bd2d4d86f2a6491b0dd7786bd 100644
--- a/chrome/browser/ui/webui/options/clear_browser_data_handler.cc
+++ b/chrome/browser/ui/webui/options/clear_browser_data_handler.cc
@@ -36,8 +36,8 @@
#include "chrome/grit/generated_resources.h"
#include "chrome/grit/locale_settings.h"
#include "components/browsing_data/core/counters/browsing_data_counter.h"
+#include "components/browsing_data/core/history_notice_utils.h"
#include "components/browsing_data/core/pref_names.h"
-#include "components/browsing_data_ui/history_notice_utils.h"
#include "components/google/core/browser/google_util.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/notification_details.h"
@@ -396,7 +396,7 @@ void ClearBrowserDataHandler::OnStateChanged() {
}
void ClearBrowserDataHandler::RefreshHistoryNotice() {
- browsing_data_ui::ShouldShowNoticeAboutOtherFormsOfBrowsingHistory(
+ browsing_data::ShouldShowNoticeAboutOtherFormsOfBrowsingHistory(
sync_service_,
WebHistoryServiceFactory::GetForProfile(Profile::FromWebUI(web_ui())),
base::Bind(&ClearBrowserDataHandler::UpdateHistoryNotice,
@@ -409,7 +409,7 @@ void ClearBrowserDataHandler::RefreshHistoryNotice() {
browsing_data::prefs::kClearBrowsingDataHistoryNoticeShownTimes);
if (notice_shown_times < kMaxTimesHistoryNoticeShown) {
- browsing_data_ui::ShouldPopupDialogAboutOtherFormsOfBrowsingHistory(
+ browsing_data::ShouldPopupDialogAboutOtherFormsOfBrowsingHistory(
sync_service_,
WebHistoryServiceFactory::GetForProfile(Profile::FromWebUI(web_ui())),
chrome::GetChannel(),
« no previous file with comments | « chrome/browser/ui/webui/history_ui.cc ('k') | chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698