OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_USER_CLOUD_POLICY_MANAGER_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_MANAGER_FACTORY_H_ |
6 #define CHROME_BROWSER_POLICY_USER_CLOUD_POLICY_MANAGER_FACTORY_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_MANAGER_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/singleton.h" | 11 #include "base/memory/singleton.h" |
12 #include "chrome/browser/profiles/profile_keyed_base_factory.h" | 12 #include "chrome/browser/profiles/profile_keyed_base_factory.h" |
13 | 13 |
14 class Profile; | 14 class Profile; |
15 | 15 |
16 namespace policy { | 16 namespace policy { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 void Unregister(Profile* profile, UserCloudPolicyManager* instance); | 72 void Unregister(Profile* profile, UserCloudPolicyManager* instance); |
73 | 73 |
74 typedef std::map<Profile*, UserCloudPolicyManager*> ManagerMap; | 74 typedef std::map<Profile*, UserCloudPolicyManager*> ManagerMap; |
75 ManagerMap managers_; | 75 ManagerMap managers_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyManagerFactory); | 77 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyManagerFactory); |
78 }; | 78 }; |
79 | 79 |
80 } // namespace policy | 80 } // namespace policy |
81 | 81 |
82 #endif // CHROME_BROWSER_POLICY_USER_CLOUD_POLICY_MANAGER_FACTORY_H_ | 82 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_MANAGER_FACTORY_H_ |
OLD | NEW |