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

Side by Side Diff: components/policy/core/common/cloud/component_cloud_policy_service.h

Issue 2933113002: Add to ComponentCloudPolicyService comment (Closed)
Patch Set: Improved comment Created 3 years, 6 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 COMPONENTS_POLICY_CORE_COMMON_CLOUD_COMPONENT_CLOUD_POLICY_SERVICE_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_COMPONENT_CLOUD_POLICY_SERVICE_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_COMPONENT_CLOUD_POLICY_SERVICE_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_COMPONENT_CLOUD_POLICY_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 18 matching lines...) Expand all
29 namespace net { 29 namespace net {
30 class URLRequestContextGetter; 30 class URLRequestContextGetter;
31 } 31 }
32 32
33 namespace policy { 33 namespace policy {
34 34
35 class ExternalPolicyDataFetcherBackend; 35 class ExternalPolicyDataFetcherBackend;
36 class ResourceCache; 36 class ResourceCache;
37 class SchemaMap; 37 class SchemaMap;
38 38
39 // Manages cloud policy for components. 39 // Manages cloud policy for components (currently used for device local accounts
40 // and policy for extensions --> go/cros-ent-p4ext-dd).
40 // 41 //
41 // This class takes care of fetching, validating, storing and updating policy 42 // This class takes care of fetching, validating, storing and updating policy
42 // for components. 43 // for components.
43 // 44 //
44 // Note that the policies for all components, as returned by the server, are 45 // Note that the policies for all components, as returned by the server, are
45 // downloaded and cached, regardless of the current state of the schema 46 // downloaded and cached, regardless of the current state of the schema
46 // registry. However, exposed are only the policies whose components are present 47 // registry. However, exposed are only the policies whose components are present
47 // in the schema registry. 48 // in the schema registry.
48 // 49 //
49 // The exposed policies are guaranteed to be conformant to the corresponding 50 // The exposed policies are guaranteed to be conformant to the corresponding
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 192
192 // Must be the last member. 193 // Must be the last member.
193 base::WeakPtrFactory<ComponentCloudPolicyService> weak_ptr_factory_; 194 base::WeakPtrFactory<ComponentCloudPolicyService> weak_ptr_factory_;
194 195
195 DISALLOW_COPY_AND_ASSIGN(ComponentCloudPolicyService); 196 DISALLOW_COPY_AND_ASSIGN(ComponentCloudPolicyService);
196 }; 197 };
197 198
198 } // namespace policy 199 } // namespace policy
199 200
200 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_COMPONENT_CLOUD_POLICY_SERVICE_H_ 201 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_COMPONENT_CLOUD_POLICY_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698