From 51f6c2793adab2d864b3d2b360000ef8db1d3e92 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 10 Dec 2018 16:19:40 +0100 Subject: BASELINE: Update Chromium to 71.0.3578.93 Change-Id: I6a32086c33670e1b033f8b10e6bf1fd4da1d105d Reviewed-by: Alexandru Croitor --- .../ui/webui/translate_internals/translate_internals_handler.cc | 3 ++- .../browser/ui/webui/translate_internals/translate_internals_ui.cc | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'chromium/chrome/browser/ui/webui/translate_internals') diff --git a/chromium/chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc b/chromium/chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc index 220af586aef..2812147d559 100644 --- a/chromium/chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc +++ b/chromium/chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc @@ -217,7 +217,8 @@ void TranslateInternalsHandler::SendPrefsToJs() { prefs::kOfferTranslateEnabled, translate::TranslatePrefs::kPrefTranslateRecentTarget, translate::TranslatePrefs::kPrefTranslateBlockedLanguages, - translate::TranslatePrefs::kPrefTranslateSiteBlacklist, + translate::TranslatePrefs::kPrefTranslateSiteBlacklistDeprecated, + translate::TranslatePrefs::kPrefTranslateSiteBlacklistWithTime, translate::TranslatePrefs::kPrefTranslateWhitelists, translate::TranslatePrefs::kPrefTranslateDeniedCount, translate::TranslatePrefs::kPrefTranslateIgnoredCount, diff --git a/chromium/chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc b/chromium/chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc index 1613e415212..7bacde2c268 100644 --- a/chromium/chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc +++ b/chromium/chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc @@ -32,8 +32,7 @@ void GetLanguages(base::DictionaryValue* dict) { std::vector language_codes; l10n_util::GetAcceptLanguagesForLocale(app_locale, &language_codes); - for (std::vector::iterator it = language_codes.begin(); - it != language_codes.end(); ++it) { + for (auto it = language_codes.begin(); it != language_codes.end(); ++it) { const std::string& lang_code = *it; base::string16 lang_name = l10n_util::GetDisplayNameForLocale(lang_code, app_locale, false); -- cgit v1.2.1