1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
## Prevent request attempts
# chrome://discards/ attempts to use d3 to display the graph
--- chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.cc.orig
+++ chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.cc
@@ -286,6 +286,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
--- chrome/browser/new_tab_page/promos/promo_service.cc.orig
+++ chrome/browser/new_tab_page/promos/promo_service.cc
@@ -138,6 +138,7 @@ PromoService::PromoService(
PromoService::~PromoService() = default;
void PromoService::Refresh() {
+ return;
net::NetworkTrafficAnnotationTag traffic_annotation =
net::DefineNetworkTrafficAnnotation("promo_service", R"(
semantics {
--- chrome/browser/resources/discards/graph_doc_template.html.orig
+++ chrome/browser/resources/discards/graph_doc_template.html
@@ -78,10 +78,6 @@ URL. As result, this document needs to b
}
</style>
- <script src="https://ajax.googleapis.com/ajax/libs/d3js/5.7.0/d3.min.js"
- integrity="sha384-HL96dun1KbYEq6UT/ZlsspAODCyQ+Zp4z318ajUPBPSMzy5dvxl6ziwmnil8/Cpd"
- crossorigin="anonymous">
- </script>
<script type="application/javascript">
${javascript_file}
</script>
--- chrome/browser/search/background/ntp_background_service.cc.orig
+++ chrome/browser/search/background/ntp_background_service.cc
@@ -83,6 +83,7 @@ void NtpBackgroundService::Shutdown() {
}
void NtpBackgroundService::FetchCollectionInfo() {
+ return;
if (collections_loader_ != nullptr)
return;
collection_error_info_.ClearError();
--- chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc.orig
+++ 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_);
--- components/assist_ranker/ranker_url_fetcher.cc.orig
+++ 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) {
--- components/update_client/update_checker.cc.orig
+++ components/update_client/update_checker.cc
@@ -129,6 +129,7 @@ void UpdateCheckerImpl::CheckForUpdates(
const base::flat_map<std::string, std::string>& additional_attributes,
bool enabled_component_updates,
UpdateCheckCallback update_check_callback) {
+ return;
DCHECK(thread_checker_.CalledOnValidThread());
ids_checked_ = ids_checked;
|