| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 /* |
| 6 TODO(sfeuz): Throw away. |
| 7 |
| 5 #include "chrome/browser/policy/profile_policy_connector_factory.h" | 8 #include "chrome/browser/policy/profile_policy_connector_factory.h" |
| 6 | 9 |
| 7 #include "chrome/browser/policy/profile_policy_connector.h" | 10 #include "chrome/browser/policy/profile_policy_connector.h" |
| 8 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
| 9 #include "chrome/browser/profiles/profile_dependency_manager.h" | 12 #include "chrome/browser/profiles/profile_dependency_manager.h" |
| 10 | 13 |
| 11 namespace policy { | 14 namespace policy { |
| 12 | 15 |
| 13 // static | 16 // static |
| 14 ProfilePolicyConnector* ProfilePolicyConnectorFactory::GetForProfile( | 17 ProfilePolicyConnector* ProfilePolicyConnectorFactory::GetForProfile( |
| (...skipping 17 matching lines...) Expand all Loading... |
| 32 | 35 |
| 33 ProfilePolicyConnectorFactory::~ProfilePolicyConnectorFactory() { | 36 ProfilePolicyConnectorFactory::~ProfilePolicyConnectorFactory() { |
| 34 } | 37 } |
| 35 | 38 |
| 36 ProfileKeyedService* ProfilePolicyConnectorFactory::BuildServiceInstanceFor( | 39 ProfileKeyedService* ProfilePolicyConnectorFactory::BuildServiceInstanceFor( |
| 37 Profile* profile) const { | 40 Profile* profile) const { |
| 38 return new ProfilePolicyConnector(profile); | 41 return new ProfilePolicyConnector(profile); |
| 39 } | 42 } |
| 40 | 43 |
| 41 } // namespace policy | 44 } // namespace policy |
| 45 */ |
| OLD | NEW |