26 lines
949 B
Diff
26 lines
949 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Cheng Zhao <zcbenz@gmail.com>
|
|
Date: Tue, 9 Apr 2019 14:57:02 -0700
|
|
Subject: disable_network_services_by_default.patch
|
|
|
|
Disable NetworkService by default.
|
|
|
|
This allows us to enable NetworkService with command line flags, which makes it
|
|
easier to work on NetworkService migration.
|
|
|
|
We should remove this patch after all Electron's code has been migrated to the
|
|
NetworkService.
|
|
|
|
diff --git a/services/network/public/cpp/features.cc b/services/network/public/cpp/features.cc
|
|
index d10016967b1ac607166e593fbddf39a8fc533fe0..2f8d69091a3eeb46e52d48c015d76df9fe41e350 100644
|
|
--- a/services/network/public/cpp/features.cc
|
|
+++ b/services/network/public/cpp/features.cc
|
|
@@ -23,7 +23,7 @@ const base::Feature kNetworkService {
|
|
#else
|
|
"NetworkServiceNotSupported",
|
|
#endif
|
|
- base::FEATURE_ENABLED_BY_DEFAULT
|
|
+ base::FEATURE_DISABLED_BY_DEFAULT
|
|
};
|
|
|
|
// Out of Blink CORS
|