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 <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/singleton.h" | |
13 #include "components/browser_context_keyed_service/browser_context_keyed_base_fa
ctory.h" | 12 #include "components/browser_context_keyed_service/browser_context_keyed_base_fa
ctory.h" |
14 | 13 |
| 14 template <typename T> |
| 15 struct DefaultSingletonTraits; |
| 16 |
15 class Profile; | 17 class Profile; |
16 | 18 |
17 namespace base { | 19 namespace base { |
18 class SequencedTaskRunner; | 20 class SequencedTaskRunner; |
19 } | 21 } |
20 | 22 |
21 namespace content { | 23 namespace content { |
22 class BrowserContext; | 24 class BrowserContext; |
23 } | 25 } |
24 | 26 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 81 |
80 typedef std::map<Profile*, ProfilePolicyConnector*> ConnectorMap; | 82 typedef std::map<Profile*, ProfilePolicyConnector*> ConnectorMap; |
81 ConnectorMap connectors_; | 83 ConnectorMap connectors_; |
82 | 84 |
83 DISALLOW_COPY_AND_ASSIGN(ProfilePolicyConnectorFactory); | 85 DISALLOW_COPY_AND_ASSIGN(ProfilePolicyConnectorFactory); |
84 }; | 86 }; |
85 | 87 |
86 } // namespace policy | 88 } // namespace policy |
87 | 89 |
88 #endif // CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_ | 90 #endif // CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_ |
OLD | NEW |