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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc

Issue 10073007: Add network settings to Wifi tab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « chrome/browser/resources/options2/chromeos/internet_detail.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
diff --git a/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc b/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
index 978674ab873e01fe1ee061ddf34cce34433e8931..db1153e6a5b59d2a401c336b07e0a29bd96aefed 100644
--- a/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
+++ b/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
@@ -309,7 +309,7 @@ void InternetOptionsHandler::GetLocalizedValues(
{ "changeProxyButton",
IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_CHANGE_PROXY_BUTTON },
{ "managedNetwork", IDS_OPTIONS_SETTINGS_MANAGED_NETWORK },
- { "wifiNetworkTabLabel", IDS_OPTIONS_SETTINGS_INTERNET_TAB_WIFI },
+ { "wifiNetworkTabLabel", IDS_OPTIONS_SETTINGS_INTERNET_TAB_CONNECTION },
{ "vpnTabLabel", IDS_OPTIONS_SETTINGS_INTERNET_TAB_VPN },
{ "cellularPlanTabLabel", IDS_OPTIONS_SETTINGS_INTERNET_TAB_PLAN },
{ "cellularConnTabLabel", IDS_OPTIONS_SETTINGS_INTERNET_TAB_CONNECTION },
@@ -337,6 +337,8 @@ void InternetOptionsHandler::GetLocalizedValues(
{ "accessLockedMsg", IDS_STATUSBAR_NETWORK_LOCKED },
{ "inetSsid", IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_NETWORK_ID },
+ { "inetEncryption",
+ IDS_OPTIONS_SETTIGNS_INTERNET_OPTIONS_NETWORK_ENCRYPTION },
{ "inetPassProtected",
IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_NET_PROTECTED },
{ "inetNetworkShared",
@@ -888,6 +890,7 @@ void InternetOptionsHandler::PopulateWifiDetails(
dictionary->SetBoolean("remembered", remembered);
bool shared = wifi->profile_type() == chromeos::PROFILE_SHARED;
dictionary->SetBoolean("shared", shared);
+ dictionary->SetString("encryption", wifi->GetEncryptionString());
}
DictionaryValue* InternetOptionsHandler::CreateDictionaryFromCellularApn(
« no previous file with comments | « chrome/browser/resources/options2/chromeos/internet_detail.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698