-
Notifications
You must be signed in to change notification settings - Fork 0
/
c.patch
30 lines (26 loc) · 1.14 KB
/
c.patch
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
# Disable some background communication with clients2.google.com
--- a/third_party/breakpad/breakpad/src/client/linux/sender/google_crash_report_sender.cc 2017-10-18 15:08:01.000000000 -0400
+++ b/third_party/breakpad/breakpad/src/client/linux/sender/google_crash_report_sender.cc 2017-10-18 18:32:07.810633005 -0400
@@ -85,6 +85,7 @@
}
int main(int argc, char *argv[]) {
+ return 0;
google::InitGoogleLogging(argv[0]);
google::ParseCommandLineFlags(&argc, &argv, true);
if (!CheckForRequiredFlagsOrDie()) {
--- a/chrome/browser/tracing/crash_service_uploader.cc
+++ b/chrome/browser/tracing/crash_service_uploader.cc
@@ -122,6 +122,7 @@
std::unique_ptr<const base::DictionaryValue> metadata,
const UploadProgressCallback& progress_callback,
UploadDoneCallback done_callback) {
+ return;
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
progress_callback_ = progress_callback;
@@ -304,6 +305,7 @@
void TraceCrashServiceUploader::CreateAndStartURLFetcher(
const std::string& upload_url,
const std::string& post_data) {
+ return;
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
DCHECK(!url_fetcher_.get());