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

Unified Diff: chromeos/network/network_state.h

Issue 20087002: Add migration from CaCert NSS nicknames to PEM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unittests depending on NetworkHandler and not on CertLoader. Created 7 years, 4 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
« no previous file with comments | « chromeos/network/network_handler.cc ('k') | chromeos/network/network_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_state.h
diff --git a/chromeos/network/network_state.h b/chromeos/network/network_state.h
index 5263d006e649b917cac48a9ba0dd5c15503c739a..f1777943b25349b19823e55f2a065b6b4b0c3885 100644
--- a/chromeos/network/network_state.h
+++ b/chromeos/network/network_state.h
@@ -74,6 +74,9 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState {
const std::string& post_method() const { return post_method_; }
const std::string& post_data() const { return post_data_; }
+ // Whether this network has a CACertNSS nickname set.
+ bool HasCACertNSS() const { return has_ca_cert_nss_; }
+
// Returns true if |connection_state_| is a connected/connecting state.
bool IsConnectedState() const;
bool IsConnectingState() const;
@@ -154,6 +157,10 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState {
std::string post_method_;
std::string post_data_;
+ // Whether a deprecated CaCertNSS property of this network is set. Required
+ // for migration to PEM.
+ bool has_ca_cert_nss_;
+
DISALLOW_COPY_AND_ASSIGN(NetworkState);
};
« no previous file with comments | « chromeos/network/network_handler.cc ('k') | chromeos/network/network_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698