Index: chrome/browser/browser_process_platform_part_base.cc |
diff --git a/chrome/browser/browser_process_platform_part_base.cc b/chrome/browser/browser_process_platform_part_base.cc |
index 65ff9c153d86694e33833a300507d2cd072d6845..da263bfc2a8b3bbd4ea67e3482e48eacc7f91c08 100644 |
--- a/chrome/browser/browser_process_platform_part_base.cc |
+++ b/chrome/browser/browser_process_platform_part_base.cc |
@@ -7,8 +7,11 @@ |
#include "chrome/browser/lifetime/application_lifetime.h" |
#if defined(ENABLE_CONFIGURATION_POLICY) |
+#include "components/policy/core/browser/browser_policy_connector.h" |
+#if !defined(OS_IOS) |
#include "chrome/browser/policy/chrome_browser_policy_connector.h" |
#endif |
+#endif |
BrowserProcessPlatformPartBase::BrowserProcessPlatformPartBase() { |
} |
@@ -40,7 +43,12 @@ void BrowserProcessPlatformPartBase::PreMainMessageLoopRun() { |
#if defined(ENABLE_CONFIGURATION_POLICY) |
scoped_ptr<policy::BrowserPolicyConnector> |
BrowserProcessPlatformPartBase::CreateBrowserPolicyConnector() { |
+#if defined(OS_IOS) |
+ NOTREACHED(); |
+ return scoped_ptr<policy::BrowserPolicyConnector>(); |
+#else |
return scoped_ptr<policy::BrowserPolicyConnector>( |
new policy::ChromeBrowserPolicyConnector()); |
+#endif |
} |
#endif |