summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/options/wifi_config_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/options/wifi_config_view.h')
-rw-r--r--chrome/browser/chromeos/options/wifi_config_view.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/options/wifi_config_view.h b/chrome/browser/chromeos/options/wifi_config_view.h
index cff3a13..1460a10 100644
--- a/chrome/browser/chromeos/options/wifi_config_view.h
+++ b/chrome/browser/chromeos/options/wifi_config_view.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -95,6 +95,18 @@ class WifiConfigView : public ChildNetworkConfigView,
// Returns true if there is a selected user certificate and it is valid.
bool IsUserCertValid() const;
+ // Returns true if the phase 2 auth is relevant.
+ bool Phase2AuthActive() const;
+
+ // Returns whether the current configuration requires a passphrase.
+ bool PassphraseActive() const;
+
+ // Returns true if a user cert should be selected.
+ bool UserCertActive() const;
+
+ // Returns true if a CA cert selection should be allowed.
+ bool CaCertActive() const;
+
// Updates state of the Login button.
void UpdateDialogButtons();