OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "build/build_config.h" |
6 #include "chrome/browser/browser_process_platform_part_base.h" | 7 #include "chrome/browser/browser_process_platform_part_base.h" |
7 #include "chrome/browser/lifetime/application_lifetime.h" | 8 #include "chrome/browser/lifetime/application_lifetime.h" |
8 | 9 |
9 #if defined(ENABLE_CONFIGURATION_POLICY) | 10 #if defined(ENABLE_CONFIGURATION_POLICY) |
10 #include "components/policy/core/browser/browser_policy_connector.h" | 11 #include "components/policy/core/browser/browser_policy_connector.h" |
11 #if !defined(OS_IOS) | 12 #if !defined(OS_IOS) |
12 #include "chrome/browser/policy/chrome_browser_policy_connector.h" | 13 #include "chrome/browser/policy/chrome_browser_policy_connector.h" |
13 #endif | 14 #endif |
14 #endif | 15 #endif |
15 | 16 |
(...skipping 29 matching lines...) Expand all Loading... |
45 BrowserProcessPlatformPartBase::CreateBrowserPolicyConnector() { | 46 BrowserProcessPlatformPartBase::CreateBrowserPolicyConnector() { |
46 #if defined(OS_IOS) | 47 #if defined(OS_IOS) |
47 NOTREACHED(); | 48 NOTREACHED(); |
48 return scoped_ptr<policy::BrowserPolicyConnector>(); | 49 return scoped_ptr<policy::BrowserPolicyConnector>(); |
49 #else | 50 #else |
50 return scoped_ptr<policy::BrowserPolicyConnector>( | 51 return scoped_ptr<policy::BrowserPolicyConnector>( |
51 new policy::ChromeBrowserPolicyConnector()); | 52 new policy::ChromeBrowserPolicyConnector()); |
52 #endif | 53 #endif |
53 } | 54 } |
54 #endif | 55 #endif |
OLD | NEW |