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 ae3433804f91ce1f9adb7faafc547ffce72f4f17..ff1e2cf18ea1b77b33c0efa2fe4ce05022304d72 100644 |
--- a/chrome/browser/ui/webui/options/clear_browser_data_handler.cc |
+++ b/chrome/browser/ui/webui/options/clear_browser_data_handler.cc |
@@ -34,6 +34,8 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/sync/profile_sync_service_factory.h" |
#include "chrome/browser/ui/accelerator_utils.h" |
+#include "chrome/common/channel_info.h" |
+#include "chrome/common/chrome_content_client.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/grit/generated_resources.h" |
#include "chrome/grit/locale_settings.h" |
@@ -408,6 +410,8 @@ void ClearBrowserDataHandler::RefreshHistoryNotice() { |
browsing_data_ui::ShouldPopupDialogAboutOtherFormsOfBrowsingHistory( |
sync_service_, |
WebHistoryServiceFactory::GetForProfile(Profile::FromWebUI(web_ui())), |
+ chrome::GetChannel(), |
+ GetUserAgent(), |
base::Bind(&ClearBrowserDataHandler::UpdateHistoryDeletionDialog, |
weak_ptr_factory_.GetWeakPtr())); |
} |