| 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 "chrome/browser/policy/profile_policy_connector.h" | 5 #include "chrome/browser/policy/profile_policy_connector.h" |
| 6 | 6 |
| 7 #include "chrome/browser/policy/policy_service_stub.h" | 7 #include "chrome/browser/policy/policy_service_stub.h" |
| 8 | 8 |
| 9 namespace policy { | 9 namespace policy { |
| 10 | 10 |
| 11 ProfilePolicyConnector::ProfilePolicyConnector(Profile* profile) {} | 11 ProfilePolicyConnector::ProfilePolicyConnector() {} |
| 12 | 12 |
| 13 ProfilePolicyConnector::~ProfilePolicyConnector() {} | 13 ProfilePolicyConnector::~ProfilePolicyConnector() {} |
| 14 | 14 |
| 15 void ProfilePolicyConnector::Init( | 15 void ProfilePolicyConnector::Init( |
| 16 bool force_immediate_load, | 16 bool force_immediate_load, |
| 17 CloudPolicyManager* user_cloud_policy_manager) { | 17 CloudPolicyManager* user_cloud_policy_manager) { |
| 18 policy_service_.reset(new PolicyServiceStub()); | 18 policy_service_.reset(new PolicyServiceStub()); |
| 19 } | 19 } |
| 20 | 20 |
| 21 void ProfilePolicyConnector::InitForTesting(scoped_ptr<PolicyService> service) { | 21 void ProfilePolicyConnector::InitForTesting(scoped_ptr<PolicyService> service) { |
| 22 policy_service_ = service.Pass(); | 22 policy_service_ = service.Pass(); |
| 23 } | 23 } |
| 24 | 24 |
| 25 void ProfilePolicyConnector::Shutdown() {} | 25 void ProfilePolicyConnector::Shutdown() {} |
| 26 | 26 |
| 27 bool ProfilePolicyConnector::UsedPolicyCertificates() { | |
| 28 return false; | |
| 29 } | |
| 30 | |
| 31 } // namespace policy | 27 } // namespace policy |
| OLD | NEW |