Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: chrome/browser/policy/profile_policy_connector_factory.h

Issue 54483004: policy: Remove ProfilePolicyConnector's dependency on other service factories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix iOS compilation. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/policy/profile_policy_connector.cc ('k') | chrome/browser/policy/profile_policy_connector_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698