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

Issue 4572001: Pass wifi available/enabled status to JS at initialization. (Closed)

Created:
10 years, 1 month ago by kochi
Modified:
9 years, 7 months ago
Reviewers:
Charlie Lee
CC:
chromium-reviews, arv (Not doing code reviews), davemoore+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Pass wifi available/enabled status to JS at initialization. (with a couple of minor whitespace fixes). Without this fix, the status was only passed when network update event happened and you would see the wrong "Enable Wifi" button even when Wifi is actually enabled. BUG=chromium-os:8196 TEST=login with Wifi enabled and open chrome://settings => internet and see if the "Disable Wifi" button appears properly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65352

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fix whitespaces. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M chrome/browser/chromeos/dom_ui/internet_options_handler.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/chromeos_internet_options.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/chromeos_internet_options.js View 1 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
kochi
Hi Charlie, Could you review this? Thanks!
10 years, 1 month ago (2010-11-05 10:01:24 UTC) #1
Charlie Lee
http://codereview.chromium.org/4572001/diff/1/2 File chrome/browser/chromeos/dom_ui/internet_options_handler.cc (right): http://codereview.chromium.org/4572001/diff/1/2#newcode300 chrome/browser/chromeos/dom_ui/internet_options_handler.cc:300: chromeos::CrosLibrary::Get()->GetNetworkLibrary(); Do you think you can refactor this code ...
10 years, 1 month ago (2010-11-05 16:34:29 UTC) #2
kochi
Thanks for your quick review! http://codereview.chromium.org/4572001/diff/1/2 File chrome/browser/chromeos/dom_ui/internet_options_handler.cc (right): http://codereview.chromium.org/4572001/diff/1/2#newcode300 chrome/browser/chromeos/dom_ui/internet_options_handler.cc:300: chromeos::CrosLibrary::Get()->GetNetworkLibrary(); Yes, of course. ...
10 years, 1 month ago (2010-11-08 03:19:20 UTC) #3
Charlie Lee
Please upload the latest and I can give you a lgtm. On 2010/11/08 03:19:20, tkochi ...
10 years, 1 month ago (2010-11-08 03:40:26 UTC) #4
Takayoshi Kochi (Google)
Oops, uploaded. Sorry, I forgot to type the title for new cl and left the ...
10 years, 1 month ago (2010-11-08 06:35:53 UTC) #5
Charlie Lee
10 years, 1 month ago (2010-11-08 07:42:23 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698