diff --git a/app/brave_generated_resources.grd b/app/brave_generated_resources.grd index f445ca270e46..cf3874ac18c2 100644 --- a/app/brave_generated_resources.grd +++ b/app/brave_generated_resources.grd @@ -261,6 +261,17 @@ By installing this extension, you are agreeing to the Google Widevine Terms of U Show Brave suggested sites in autocomplete suggestions + + + Standard protection is on. + + + + Checks URLs with a list of unsafe sites stored in Brave. + + + Does not protect you against dangerous websites, downloads, and extensions. + New Tab Page diff --git a/chromium_src/chrome/browser/ui/webui/settings/safety_check_handler.cc b/chromium_src/chrome/browser/ui/webui/settings/safety_check_handler.cc new file mode 100644 index 000000000000..a243fd7e9224 --- /dev/null +++ b/chromium_src/chrome/browser/ui/webui/settings/safety_check_handler.cc @@ -0,0 +1,14 @@ +/* Copyright (c) 2020 The Brave Authors. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#include "brave/grit/brave_generated_resources.h" +#include "chrome/grit/generated_resources.h" + +#undef IDS_SETTINGS_SAFETY_CHECK_SAFE_BROWSING_ENABLED_STANDARD_AVAILABLE_ENHANCED // NOLINT +// NOLINTNEXTLINE +#define IDS_SETTINGS_SAFETY_CHECK_SAFE_BROWSING_ENABLED_STANDARD_AVAILABLE_ENHANCED \ + IDS_SETTINGS_BRAVE_SAFETY_CHECK_SAFE_BROWSING_ENABLED_STANDARD_AVAILABLE_ENHANCED // NOLINT + +#include "../../../../../../../chrome/browser/ui/webui/settings/safety_check_handler.cc" diff --git a/chromium_src/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc b/chromium_src/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc index 72cfeb6aeb86..7fba7bf118df 100644 --- a/chromium_src/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc +++ b/chromium_src/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc @@ -28,6 +28,13 @@ void BraveAddLocalizedStrings(content::WebUIDataSource*, Profile*); #define IDS_SETTINGS_EDIT_PERSON IDS_SETTINGS_BRAVE_EDIT_PROFILE #undef IDS_SETTINGS_PROFILE_NAME_AND_PICTURE #define IDS_SETTINGS_PROFILE_NAME_AND_PICTURE IDS_SETTINGS_BRAVE_EDIT_PROFILE +#undef IDS_SETTINGS_SAFEBROWSING_STANDARD_BULLET_TWO +#define IDS_SETTINGS_SAFEBROWSING_STANDARD_BULLET_TWO \ + IDS_SETTINGS_BRAVE_SAFEBROWSING_STANDARD_BULLET_TWO +#undef IDS_SETTINGS_SAFEBROWSING_NONE_DESC +#define IDS_SETTINGS_SAFEBROWSING_NONE_DESC \ + IDS_SETTINGS_BRAVE_SAFEBROWSING_NONE_DESC + #define GetVersionNumber GetBraveVersionNumberForDisplay #include "../../../../../../../chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc"