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

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

Issue 10689175: Refactored code for timezone settings. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added missing comment. Created 8 years, 5 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
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_DEVICE_POLICY_CACHE_H_ 5 #ifndef CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_
6 #define CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_ 6 #define CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "chrome/browser/chromeos/login/signed_settings.h" 9 #include "chrome/browser/chromeos/login/signed_settings.h"
10 #include "chrome/browser/policy/cloud_policy_cache_base.h" 10 #include "chrome/browser/policy/cloud_policy_cache_base.h"
11 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h"
12 11
13 namespace chromeos { 12 namespace chromeos {
14 class SignedSettingsHelper; 13 class SignedSettingsHelper;
15 } // namespace chromeos 14 } // namespace chromeos
16 15
16 namespace enterprise_management {
17 class ChromeDeviceSettingsProto;
18 class PolicyData;
19 class PolicyFetchResponse;
20 } // namespace enterprise_management
21
17 namespace policy { 22 namespace policy {
18 23
19 class CloudPolicyDataStore; 24 class CloudPolicyDataStore;
20 class EnterpriseInstallAttributes; 25 class EnterpriseInstallAttributes;
21 class PolicyMap; 26 class PolicyMap;
22 27
23 // CloudPolicyCacheBase implementation that persists policy information 28 // CloudPolicyCacheBase implementation that persists policy information
24 // to ChromeOS' session manager (via SignedSettingsHelper). 29 // to ChromeOS' session manager (via SignedSettingsHelper).
25 class DevicePolicyCache : public CloudPolicyCacheBase { 30 class DevicePolicyCache : public CloudPolicyCacheBase {
26 public: 31 public:
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 base::WeakPtrFactory<DevicePolicyCache> weak_ptr_factory_; 117 base::WeakPtrFactory<DevicePolicyCache> weak_ptr_factory_;
113 118
114 bool policy_fetch_pending_; 119 bool policy_fetch_pending_;
115 120
116 DISALLOW_COPY_AND_ASSIGN(DevicePolicyCache); 121 DISALLOW_COPY_AND_ASSIGN(DevicePolicyCache);
117 }; 122 };
118 123
119 } // namespace policy 124 } // namespace policy
120 125
121 #endif // CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_ 126 #endif // CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud_policy_validator.cc ('k') | chrome/browser/policy/device_policy_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698