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

Side by Side Diff: chrome/browser/policy/cloud/cloud_policy_store.h

Issue 14008005: Move proto files back into chrome/browser/policy/proto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | 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_CLOUD_CLOUD_POLICY_STORE_H_ 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_STORE_H_
6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_STORE_H_ 6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_STORE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
11 #include "chrome/browser/policy/cloud/cloud_policy_validator.h" 11 #include "chrome/browser/policy/cloud/cloud_policy_validator.h"
12 #include "chrome/browser/policy/cloud/proto/device_management_backend.pb.h"
13 #include "chrome/browser/policy/policy_map.h" 12 #include "chrome/browser/policy/policy_map.h"
13 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h"
14 14
15 namespace policy { 15 namespace policy {
16 16
17 // Defines the low-level interface used by the cloud policy code to: 17 // Defines the low-level interface used by the cloud policy code to:
18 // 1. Validate policy blobs that should be applied locally 18 // 1. Validate policy blobs that should be applied locally
19 // 2. Persist policy blobs 19 // 2. Persist policy blobs
20 // 3. Decode policy blobs to PolicyMap representation 20 // 3. Decode policy blobs to PolicyMap representation
21 class CloudPolicyStore { 21 class CloudPolicyStore {
22 public: 22 public:
23 // Status codes. 23 // Status codes.
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 bool is_initialized_; 116 bool is_initialized_;
117 117
118 ObserverList<Observer, true> observers_; 118 ObserverList<Observer, true> observers_;
119 119
120 DISALLOW_COPY_AND_ASSIGN(CloudPolicyStore); 120 DISALLOW_COPY_AND_ASSIGN(CloudPolicyStore);
121 }; 121 };
122 122
123 } // namespace policy 123 } // namespace policy
124 124
125 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_STORE_H_ 125 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_STORE_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud/cloud_policy_service_unittest.cc ('k') | chrome/browser/policy/cloud/cloud_policy_validator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698