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

Issue 8591021: Fix initial offline state response handling (Closed)

Created:
9 years, 1 month ago by adamk
Modified:
9 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix initial offline state response handling to read a Variant of uint32 instead of a uint32, as specified by the Properties.Get interface. R=satorux@chromium.org,willchan@chromium.org BUG=104637 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110569

Patch Set 1 #

Total comments: 6

Patch Set 2 : Deal with review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -16 lines) Patch
M net/base/network_change_notifier_linux.cc View 1 5 chunks +29 lines, -15 lines 0 comments Download
M net/base/network_change_notifier_linux_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
adamk
9 years, 1 month ago (2011-11-17 17:24:24 UTC) #1
satorux1
http://codereview.chromium.org/8591021/diff/1/net/base/network_change_notifier_linux.cc File net/base/network_change_notifier_linux.cc (right): http://codereview.chromium.org/8591021/diff/1/net/base/network_change_notifier_linux.cc#newcode166 net/base/network_change_notifier_linux.cc:166: if (!reader.HasMoreData() || !reader.PopVariantOfUint32(&state)) { You don't need !reader.HasMoreData(). ...
9 years, 1 month ago (2011-11-17 17:40:15 UTC) #2
adamk
Thanks for the quick review! http://codereview.chromium.org/8591021/diff/1/net/base/network_change_notifier_linux.cc File net/base/network_change_notifier_linux.cc (right): http://codereview.chromium.org/8591021/diff/1/net/base/network_change_notifier_linux.cc#newcode166 net/base/network_change_notifier_linux.cc:166: if (!reader.HasMoreData() || !reader.PopVariantOfUint32(&state)) ...
9 years, 1 month ago (2011-11-17 18:58:23 UTC) #3
satorux1
LGTM
9 years, 1 month ago (2011-11-17 19:02:18 UTC) #4
willchan no longer on Chromium
9 years, 1 month ago (2011-11-17 19:05:08 UTC) #5
rubberstamp lgtm

On Thu, Nov 17, 2011 at 2:02 PM, <satorux@chromium.org> wrote:

> LGTM
>
>
http://codereview.chromium.**org/8591021/<http://codereview.chromium.org/8591...
>

Powered by Google App Engine
This is Rietveld 408576698