From c742948eb8524c177e4a778b50a5b19ce1bebec6 Mon Sep 17 00:00:00 2001 From: Taher Date: Wed, 18 Aug 2021 15:01:10 -0700 Subject: [PATCH] added brave product urls to brave://about --- .../chrome/common/webui_url_constants.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 chromium_src/chrome/common/webui_url_constants.cc diff --git a/chromium_src/chrome/common/webui_url_constants.cc b/chromium_src/chrome/common/webui_url_constants.cc new file mode 100644 index 000000000000..80ceb5ad7375 --- /dev/null +++ b/chromium_src/chrome/common/webui_url_constants.cc @@ -0,0 +1,16 @@ +/* Copyright 2021 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/common/webui_url_constants.h" +#include "chrome/common/webui_url_constants.h" + +#define BRAVE_HOST_URLS \ + kAdblockHost, kIPFSWebUIHost, kRewardsPageHost, kRewardsInternalsHost, \ + kWelcomeHost, kWalletPageHost, kTorInternalsHost +#define kChromeUIAppCacheInternalsHost \ + kChromeUIAppCacheInternalsHost, BRAVE_HOST_URLS +#include "../../../../chrome/common/webui_url_constants.cc" +#undef kChromeUIAppCacheInternalsHost +#undef BRAVE_HOST_URLS