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

Unified Diff: chrome/browser/chromeos/cros/network_library.h

Issue 13035003: Added a PolicyCertVerifier that uses the trust anchors from the ONC policies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/cros/network_library.h
diff --git a/chrome/browser/chromeos/cros/network_library.h b/chrome/browser/chromeos/cros/network_library.h
index d5854d61ba641e7e332709c6acde1c3c2744fa26..003d99381edfe32576dfed224898c38ea6806c43 100644
--- a/chrome/browser/chromeos/cros/network_library.h
+++ b/chrome/browser/chromeos/cros/network_library.h
@@ -21,6 +21,7 @@
#include "chromeos/network/network_ip_config.h"
#include "chromeos/network/network_util.h"
#include "chromeos/network/onc/onc_constants.h"
+#include "net/cert/x509_certificate.h"
namespace base {
class DictionaryValue;
@@ -1725,10 +1726,11 @@ class NetworkLibrary {
// Load networks from an Open Network Configuration blob.
// If there was an error, returns false.
- virtual bool LoadOncNetworks(const std::string& onc_blob,
- const std::string& passcode,
- onc::ONCSource source,
- bool allow_web_trust_from_policy) = 0;
+ virtual bool LoadOncNetworks(
+ const std::string& onc_blob,
+ const std::string& passcode,
+ onc::ONCSource source,
+ net::CertificateList* onc_trusted_certificates) = 0;
// This sets the active network for the network type. Note: priority order
// is unchanged (i.e. if a wifi network is set to active, but an ethernet
« no previous file with comments | « chrome/browser/chromeos/cros/mock_network_library.h ('k') | chrome/browser/chromeos/cros/network_library_impl_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698