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

Unified Diff: chrome/browser/chromeos/options/network_config_view.cc

Issue 16512003: Configure networks requiring a certificate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update error strings Created 7 years, 6 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/network_config_view.cc
diff --git a/chrome/browser/chromeos/options/network_config_view.cc b/chrome/browser/chromeos/options/network_config_view.cc
index 50446a668cad1c24c50f4928ef55734d4e4827ce..034d83a4f62569aa20f3dbfb836f6ca3acfe4f1b 100644
--- a/chrome/browser/chromeos/options/network_config_view.cc
+++ b/chrome/browser/chromeos/options/network_config_view.cc
@@ -117,22 +117,20 @@ NetworkConfigView::~NetworkConfigView() {
}
// static
-bool NetworkConfigView::Show(Network* network, gfx::NativeWindow parent) {
+void NetworkConfigView::Show(Network* network, gfx::NativeWindow parent) {
if (GetActiveDialog() != NULL)
- return false;
+ return;
NetworkConfigView* view = new NetworkConfigView(network);
view->ShowDialog(parent);
- return true;
}
// static
-bool NetworkConfigView::ShowForType(ConnectionType type,
+void NetworkConfigView::ShowForType(ConnectionType type,
gfx::NativeWindow parent) {
if (GetActiveDialog() != NULL)
- return false;
+ return;
NetworkConfigView* view = new NetworkConfigView(type);
view->ShowDialog(parent);
- return true;
}
gfx::NativeWindow NetworkConfigView::GetNativeWindow() const {
« no previous file with comments | « chrome/browser/chromeos/options/network_config_view.h ('k') | chrome/browser/chromeos/options/network_connect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698