Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 39338e63a28e126b5b6a5e38e6c51525cde002eb..5cc67e3dc91a17306d079ab132a81681685aa0fd 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -152,6 +152,7 @@ |
#include "content/public/browser/resource_context.h" |
#include "content/public/browser/site_instance.h" |
#include "content/public/browser/storage_partition.h" |
+#include "content/public/browser/vpn_service_proxy.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/common/child_process_host.h" |
#include "content/public/common/content_descriptors.h" |
@@ -2500,6 +2501,17 @@ bool ChromeContentBrowserClient::IsPepperVpnProviderAPIAllowed( |
#endif |
} |
+std::unique_ptr<content::VpnServiceProxy> |
+ChromeContentBrowserClient::GetVpnServiceProxy( |
+ content::BrowserContext* browser_context) { |
+#if defined(ENABLE_EXTENSIONS) |
+ return ChromeContentBrowserClientExtensionsPart::GetVpnServiceProxy( |
+ browser_context); |
+#else |
+ return nullptr; |
+#endif |
+} |
+ |
ui::SelectFilePolicy* ChromeContentBrowserClient::CreateSelectFilePolicy( |
WebContents* web_contents) { |
return new ChromeSelectFilePolicy(web_contents); |