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

Side by Side Diff: chromeos/network/managed_network_configuration_handler.h

Issue 2828713002: Enable client certificate patterns in device ONC policy (Closed)
Patch Set: Addressed comments - more DCHECKs, use PostTask..WithReply in client_cert_resolver.cc. Created 3 years, 7 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) 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 CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ 5 #ifndef CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_
6 #define CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ 6 #define CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 virtual const GuidToPolicyMap* GetNetworkConfigsFromPolicy( 150 virtual const GuidToPolicyMap* GetNetworkConfigsFromPolicy(
151 const std::string& userhash) const = 0; 151 const std::string& userhash) const = 0;
152 152
153 // Returns the global configuration of the policy of user |userhash| or device 153 // Returns the global configuration of the policy of user |userhash| or device
154 // policy if |userhash| is empty. 154 // policy if |userhash| is empty.
155 virtual const base::DictionaryValue* GetGlobalConfigFromPolicy( 155 virtual const base::DictionaryValue* GetGlobalConfigFromPolicy(
156 const std::string& userhash) const = 0; 156 const std::string& userhash) const = 0;
157 157
158 // Returns the policy with |guid| for profile |profile_path|. If such 158 // Returns the policy with |guid| for profile |profile_path|. If such
159 // doesn't exist, returns NULL. 159 // doesn't exist, returns nullptr. Sets |onc_source| accordingly if it is not
160 // nullptr.
160 virtual const base::DictionaryValue* FindPolicyByGuidAndProfile( 161 virtual const base::DictionaryValue* FindPolicyByGuidAndProfile(
161 const std::string& guid, 162 const std::string& guid,
162 const std::string& profile_path) const = 0; 163 const std::string& profile_path,
164 ::onc::ONCSource* onc_source) const = 0;
163 165
164 private: 166 private:
165 DISALLOW_ASSIGN(ManagedNetworkConfigurationHandler); 167 DISALLOW_ASSIGN(ManagedNetworkConfigurationHandler);
166 }; 168 };
167 169
168 } // namespace chromeos 170 } // namespace chromeos
169 171
170 #endif // CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ 172 #endif // CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_
OLDNEW
« no previous file with comments | « chromeos/network/client_cert_util.cc ('k') | chromeos/network/managed_network_configuration_handler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698