aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-net_base_network__change__notifier.cc
blob: bf0a9d06d5a3f84b4bc069513bb3fde1733f025e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                       
                                       
                 
                                                    
                          
                                                  

                                                                           
                                                      
                            
                                                      
                                                                          







                                                         
                  
--- net/base/network_change_notifier.cc.orig	2023-05-31 08:12:17 UTC
+++ net/base/network_change_notifier.cc
@@ -37,7 +37,7 @@
 #include "net/base/network_change_notifier_linux.h"
 #elif BUILDFLAG(IS_APPLE)
 #include "net/base/network_change_notifier_mac.h"
-#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
 #include "net/base/network_change_notifier_passive.h"
 #elif BUILDFLAG(IS_FUCHSIA)
 #include "net/base/network_change_notifier_fuchsia.h"
@@ -329,6 +329,9 @@ std::unique_ptr<NetworkChangeNotifier> NetworkChangeNo
 #elif BUILDFLAG(IS_FUCHSIA)
   return std::make_unique<NetworkChangeNotifierFuchsia>(
       /*require_wlan=*/false);
+#elif BUILDFLAG(IS_BSD)
+  return std::make_unique<MockNetworkChangeNotifier>(
+      /*dns_config_notifier*/nullptr);
 #else
   NOTIMPLEMENTED();
   return nullptr;