## Prevent request attempts # chrome://discards/ attempts to use d3 to display the graph --- a/chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.cc +++ b/chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.cc @@ -287,6 +287,7 @@ OneGoogleBarLoaderImpl::OneGoogleBarLoad OneGoogleBarLoaderImpl::~OneGoogleBarLoaderImpl() = default; void OneGoogleBarLoaderImpl::Load(OneGoogleCallback callback) { + return; callbacks_.push_back(std::move(callback)); // Note: If there is an ongoing request, abandon it. It's possible that --- a/chrome/browser/new_tab_page/promos/promo_service.cc +++ b/chrome/browser/new_tab_page/promos/promo_service.cc @@ -171,6 +171,7 @@ PromoService::PromoService( PromoService::~PromoService() = default; void PromoService::Refresh() { + if ((true)) return; std::string command_id; // Replace the promo URL with "command:" if such a command ID is set // via the feature params. --- a/chrome/browser/resources/discards/graph_doc_template.html +++ b/chrome/browser/resources/discards/graph_doc_template.html @@ -78,10 +78,6 @@ URL. As result, this document needs to b } - --- a/chrome/browser/search/background/ntp_background_service.cc +++ b/chrome/browser/search/background/ntp_background_service.cc @@ -84,6 +84,7 @@ void NtpBackgroundService::Shutdown() { } void NtpBackgroundService::FetchCollectionInfo() { + return; if (collections_loader_ != nullptr) return; collection_error_info_.ClearError(); --- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc +++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc @@ -286,6 +286,7 @@ GURL SpellcheckHunspellDictionary::GetDi } void SpellcheckHunspellDictionary::DownloadDictionary(GURL url) { + return; DCHECK_CURRENTLY_ON(BrowserThread::UI); DCHECK(browser_context_); --- a/components/assist_ranker/ranker_url_fetcher.cc +++ b/components/assist_ranker/ranker_url_fetcher.cc @@ -31,6 +31,7 @@ bool RankerURLFetcher::Request( const GURL& url, RankerURLFetcher::Callback callback, network::mojom::URLLoaderFactory* url_loader_factory) { + return false; // This function is not supposed to be called if the previous operation is not // finished. if (state_ == REQUESTING) { --- a/components/update_client/update_checker.cc +++ b/components/update_client/update_checker.cc @@ -98,6 +98,7 @@ void UpdateCheckerImpl::CheckForUpdates( scoped_refptr context, const base::flat_map& additional_attributes, UpdateCheckCallback update_check_callback) { + return; DCHECK(thread_checker_.CalledOnValidThread()); update_check_callback_ = std::move(update_check_callback);