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

Unified Diff: chrome/browser/chromeos/options/wifi_config_view.h

Issue 2887993003: Leave client certificate combobox empty if managed certficate not found (Closed)
Patch Set: Addressed comments. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/options/wifi_config_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/options/wifi_config_view.h
diff --git a/chrome/browser/chromeos/options/wifi_config_view.h b/chrome/browser/chromeos/options/wifi_config_view.h
index ede9a59de0c08f2ba21bf38cae933223f986d359..456b2325adf0db97712d68ab99332bf4e197a5e9 100644
--- a/chrome/browser/chromeos/options/wifi_config_view.h
+++ b/chrome/browser/chromeos/options/wifi_config_view.h
@@ -154,6 +154,9 @@ class WifiConfigView : public ChildNetworkConfigView,
// Returns true if a user cert should be selected.
bool UserCertActive() const;
+ // Returns true if the user cert is managed but could not be found.
+ bool ManagedUserCertNotFound() const { return managed_user_cert_not_found_; }
+
// Returns true if a CA cert selection should be allowed.
bool CaCertActive() const;
@@ -212,6 +215,10 @@ class WifiConfigView : public ChildNetworkConfigView,
views::ToggleImageButton* passphrase_visible_button_;
views::Label* error_label_;
+ // Indicates that the user certificate is managed by policy (not editable),
+ // but the policy-specified certificate has not been found.
+ bool managed_user_cert_not_found_ = false;
+
base::WeakPtrFactory<WifiConfigView> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(WifiConfigView);
« no previous file with comments | « no previous file | chrome/browser/chromeos/options/wifi_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698