Chromium Code Reviews| 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..19b4c04d96ddee84646e8edf3b5907fb7a9c1af6 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_; |
|
xiyuan
2017/05/17 18:17:09
nit: initialize it to false here.
i.e.
bool man
pmarko
2017/05/18 12:17:44
Done.
|
| + |
| base::WeakPtrFactory<WifiConfigView> weak_ptr_factory_; |
| DISALLOW_COPY_AND_ASSIGN(WifiConfigView); |