Make networks unshared in wifi_config dialog for kiosk apps and guest mode
commit596ca12542dea0f2db4c42afe28d52e515dfe578
authortbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 14 Apr 2014 21:14:40 +0000 (14 21:14 +0000)
committertbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 14 Apr 2014 21:14:40 +0000 (14 21:14 +0000)
tree15f53a31dd40e49f838dd0ab37da61e3b7fb226e
parentc8ef1d0bc63aa014ba0fb94049671b371c0d5d18
Make networks unshared in wifi_config dialog for kiosk apps and guest mode

BUG=355898
TEST=
1.1. Start a kiosk app without network connection,
1.2. when offered an option, select a WPA/WEP protected network (make sure
it's not shared)
1.3. A network configuration dialog should appear;
"Share this network with other users" checkbox should be disabled and unchecked
1.4. Enter credentials and connect.
1.5. When connected, exit  and make sure that network config dialog
is shown when connecting to the same network at the login screen

2.1. Login as guest and try connecting to a WPA/WEP protected unshared network.
proceed with step 1.3.

Review URL: https://codereview.chromium.org/232493002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263727 0039d316-1c4b-4281-b951-d872f2087c98
ash/system/chromeos/network/network_connect.cc
chrome/browser/chromeos/options/network_config_view.cc
chrome/browser/chromeos/options/network_config_view.h
chrome/browser/chromeos/options/vpn_config_view.cc
chrome/browser/chromeos/options/wifi_config_view.cc
chrome/browser/chromeos/options/wimax_config_view.cc
chromeos/login/login_state.cc
chromeos/login/login_state.h
chromeos/network/network_connection_handler.cc