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

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

Issue 10388254: Introduce a device setting controlling allowed connection types for AU. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and fix some bugs. Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/browser/policy/device_policy_cache.cc » ('j') | 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) 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 #pragma once 7 #pragma once
8 8
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/chromeos/login/signed_settings.h" 10 #include "chrome/browser/chromeos/login/signed_settings.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 const enterprise_management::ChromeDeviceSettingsProto& policy, 91 const enterprise_management::ChromeDeviceSettingsProto& policy,
92 PolicyMap* policies, 92 PolicyMap* policies,
93 EnterpriseInstallAttributes* install_attributes); 93 EnterpriseInstallAttributes* install_attributes);
94 static void DecodeNetworkPolicies( 94 static void DecodeNetworkPolicies(
95 const enterprise_management::ChromeDeviceSettingsProto& policy, 95 const enterprise_management::ChromeDeviceSettingsProto& policy,
96 PolicyMap* policies, 96 PolicyMap* policies,
97 EnterpriseInstallAttributes* install_attributes); 97 EnterpriseInstallAttributes* install_attributes);
98 static void DecodeReportingPolicies( 98 static void DecodeReportingPolicies(
99 const enterprise_management::ChromeDeviceSettingsProto& policy, 99 const enterprise_management::ChromeDeviceSettingsProto& policy,
100 PolicyMap* policies); 100 PolicyMap* policies);
101 static void DecodeAutoUpdatePolicies(
102 const enterprise_management::ChromeDeviceSettingsProto& policy,
103 PolicyMap* policies);
101 static void DecodeGenericPolicies( 104 static void DecodeGenericPolicies(
102 const enterprise_management::ChromeDeviceSettingsProto& policy, 105 const enterprise_management::ChromeDeviceSettingsProto& policy,
103 PolicyMap* policies); 106 PolicyMap* policies);
104 107
105 CloudPolicyDataStore* data_store_; 108 CloudPolicyDataStore* data_store_;
106 EnterpriseInstallAttributes* install_attributes_; 109 EnterpriseInstallAttributes* install_attributes_;
107 110
108 chromeos::SignedSettingsHelper* signed_settings_helper_; 111 chromeos::SignedSettingsHelper* signed_settings_helper_;
109 112
110 base::WeakPtrFactory<DevicePolicyCache> weak_ptr_factory_; 113 base::WeakPtrFactory<DevicePolicyCache> weak_ptr_factory_;
111 114
112 bool policy_fetch_pending_; 115 bool policy_fetch_pending_;
113 116
114 DISALLOW_COPY_AND_ASSIGN(DevicePolicyCache); 117 DISALLOW_COPY_AND_ASSIGN(DevicePolicyCache);
115 }; 118 };
116 119
117 } // namespace policy 120 } // namespace policy
118 121
119 #endif // CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_ 122 #endif // CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_
OLDNEW
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/browser/policy/device_policy_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698