| 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 #ifndef CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_ |
| 6 #define CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_ | 6 #define CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 virtual ~ProfilePolicyConnectorFactory(); | 70 virtual ~ProfilePolicyConnectorFactory(); |
| 71 | 71 |
| 72 ProfilePolicyConnector* GetForProfileInternal(Profile* profile); | 72 ProfilePolicyConnector* GetForProfileInternal(Profile* profile); |
| 73 | 73 |
| 74 scoped_ptr<ProfilePolicyConnector> CreateForProfileInternal( | 74 scoped_ptr<ProfilePolicyConnector> CreateForProfileInternal( |
| 75 Profile* profile, | 75 Profile* profile, |
| 76 bool force_immediate_load); | 76 bool force_immediate_load); |
| 77 | 77 |
| 78 // BrowserContextKeyedBaseFactory: | 78 // BrowserContextKeyedBaseFactory: |
| 79 virtual void BrowserContextShutdown( | 79 virtual void BrowserContextShutdown( |
| 80 content::BrowserContext* context) OVERRIDE; | 80 content::BrowserContext* context) override; |
| 81 virtual void BrowserContextDestroyed( | 81 virtual void BrowserContextDestroyed( |
| 82 content::BrowserContext* context) OVERRIDE; | 82 content::BrowserContext* context) override; |
| 83 virtual void SetEmptyTestingFactory( | 83 virtual void SetEmptyTestingFactory( |
| 84 content::BrowserContext* context) OVERRIDE; | 84 content::BrowserContext* context) override; |
| 85 virtual bool HasTestingFactory(content::BrowserContext* context) OVERRIDE; | 85 virtual bool HasTestingFactory(content::BrowserContext* context) override; |
| 86 virtual void CreateServiceNow(content::BrowserContext* context) OVERRIDE; | 86 virtual void CreateServiceNow(content::BrowserContext* context) override; |
| 87 | 87 |
| 88 typedef std::map<Profile*, ProfilePolicyConnector*> ConnectorMap; | 88 typedef std::map<Profile*, ProfilePolicyConnector*> ConnectorMap; |
| 89 ConnectorMap connectors_; | 89 ConnectorMap connectors_; |
| 90 std::list<ConfigurationPolicyProvider*> test_providers_; | 90 std::list<ConfigurationPolicyProvider*> test_providers_; |
| 91 | 91 |
| 92 DISALLOW_COPY_AND_ASSIGN(ProfilePolicyConnectorFactory); | 92 DISALLOW_COPY_AND_ASSIGN(ProfilePolicyConnectorFactory); |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace policy | 95 } // namespace policy |
| 96 | 96 |
| 97 #endif // CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_ | 97 #endif // CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_ |
| OLD | NEW |