Skip to content

Commit

Permalink
Merge pull request #25602 from brave/android_fix_for_brave_scheme
Browse files Browse the repository at this point in the history
[C129] [Android] Fix for brave scheme pages
  • Loading branch information
samartnik authored Sep 17, 2024
2 parents d8e736c + e9fa1e6 commit d6c18c3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions chromium_src/components/omnibox/browser/verbatim_match.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright (c) 2024 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 https://mozilla.org/MPL/2.0/.

#include "components/omnibox/browser/verbatim_match.h"

#include "content/public/common/url_constants.h"

#if BUILDFLAG(IS_ANDROID)
#define kChromeUIScheme kChromeUIScheme, content::kBraveUIScheme
#endif // BUILDFLAG(IS_ANDROID)
#include "src/components/omnibox/browser/verbatim_match.cc"
#if BUILDFLAG(IS_ANDROID)
#undef kChromeUIScheme
#endif // BUILDFLAG(IS_ANDROID)

0 comments on commit d6c18c3

Please sign in to comment.