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

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

Issue 9296009: Fix WiFi & VPN connection dialogs when controls a disabled through policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nit, rebase Created 8 years, 11 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/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 cff3a139b6981f4f331c4676a7a40a1b39276915..1460a10897e60fae4cc8efc7f53a0c730401761a 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();
« no previous file with comments | « chrome/browser/chromeos/options/vpn_config_view.cc ('k') | chrome/browser/chromeos/options/wifi_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698