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

Unified Diff: chrome/browser/chromeos/dom_ui/internet_options_handler.cc

Issue 6292008: Added flags to prevent messing with network connections while 3G device is be... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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/dom_ui/internet_options_handler.cc
===================================================================
--- chrome/browser/chromeos/dom_ui/internet_options_handler.cc (revision 71648)
+++ chrome/browser/chromeos/dom_ui/internet_options_handler.cc (working copy)
@@ -143,6 +143,9 @@
l10n_util::GetStringUTF16(
IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_HARDWARE_ADDRESS));
+ localized_strings->SetString("accessLockedMsg",
+ l10n_util::GetStringUTF16(
+ IDS_STATUSBAR_NETWORK_LOCKED));
localized_strings->SetString("inetSsid",
l10n_util::GetStringUTF16(
IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_NETWORK_ID));
@@ -1028,6 +1031,7 @@
void InternetOptionsHandler::FillNetworkInfo(
DictionaryValue* dictionary, chromeos::NetworkLibrary* cros) {
+ dictionary->SetBoolean("accessLocked", cros->IsLocked());
dictionary->Set("wiredList", GetWiredList());
dictionary->Set("wirelessList", GetWirelessList());
dictionary->Set("rememberedList", GetRememberedList());

Powered by Google App Engine
This is Rietveld 408576698