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

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

Issue 78763002: Move PolicyMap and its dependencies to components/policy/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export nested struct 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) 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_POLICY_SERVICE_H_ 5 #ifndef CHROME_BROWSER_POLICY_POLICY_SERVICE_H_
6 #define CHROME_BROWSER_POLICY_POLICY_SERVICE_H_ 6 #define CHROME_BROWSER_POLICY_POLICY_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "chrome/browser/policy/policy_map.h" 13 #include "components/policy/core/common/policy_map.h"
14 #include "components/policy/core/common/policy_namespace.h" 14 #include "components/policy/core/common/policy_namespace.h"
15 15
16 namespace policy { 16 namespace policy {
17 17
18 // The PolicyService merges policies from all available sources, taking into 18 // The PolicyService merges policies from all available sources, taking into
19 // account their priorities. Policy clients can retrieve policy for their domain 19 // account their priorities. Policy clients can retrieve policy for their domain
20 // and register for notifications on policy updates. 20 // and register for notifications on policy updates.
21 // 21 //
22 // The PolicyService is available from BrowserProcess as a global singleton. 22 // The PolicyService is available from BrowserProcess as a global singleton.
23 // There is also a PolicyService for browser-wide policies available from 23 // There is also a PolicyService for browser-wide policies available from
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 PolicyService* policy_service_; 105 PolicyService* policy_service_;
106 PolicyNamespace ns_; 106 PolicyNamespace ns_;
107 CallbackMap callback_map_; 107 CallbackMap callback_map_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(PolicyChangeRegistrar); 109 DISALLOW_COPY_AND_ASSIGN(PolicyChangeRegistrar);
110 }; 110 };
111 111
112 } // namespace policy 112 } // namespace policy
113 113
114 #endif // CHROME_BROWSER_POLICY_POLICY_SERVICE_H_ 114 #endif // CHROME_BROWSER_POLICY_POLICY_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698