Skip to content

Commit

Permalink
Disable Make a Call From option
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyBarabash committed Apr 7, 2021
1 parent e8e079f commit 8a69445
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* Copyright (c) 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 https://mozilla.org/MPL/2.0/. */

#define ShouldOfferClickToCallForURL ShouldOfferClickToCallForURL_ChromiumImpl

#include "../../../../../../chrome/browser/sharing/click_to_call/click_to_call_utils.cc"

#undef ShouldOfferClickToCallForURL

bool ShouldOfferClickToCallForURL(content::BrowserContext* browser_context,
const GURL& url) {
return false;
}

0 comments on commit 8a69445

Please sign in to comment.