Skip to content

Commit

Permalink
Merge pull request #8454 from brave/disable_sync_phone_call
Browse files Browse the repository at this point in the history
Disable Make a Call From option
  • Loading branch information
AlexeyBarabash authored Apr 12, 2021
2 parents b370175 + 572d85f commit 6f14c1b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions chromium_src/chrome/browser/DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ include_rules = [
"+../../../../../../chrome/browser/flags/android",
"+../../../../../../chrome/browser/media/router",
"+../../../../../../chrome/browser/safe_browsing/download_protection",
"+../../../../../../chrome/browser/sharing/click_to_call",
"+../../../../../../chrome/browser/ui/bookmarks",
"+../../../../../../chrome/browser/ui/cocoa",
"+../../../../../../chrome/browser/ui/content_settings",
Expand Down
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 6f14c1b

Please sign in to comment.