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

Issue 1751793002: ARC: Remove error status setting in GetNetworks. (Closed)

Created:
4 years, 9 months ago by abhishekbh
Modified:
4 years, 9 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ARC: Remove error status setting in GetNetworks. This change removes the setting of the status code in GetNetworks. Its redundant, instead in error scenarios an empty list is given back. This change also updated GetNetworks to take in an enum instead of a boolean flag. The old version is deprecated moving forward but supported for existing older versions. BUG=590963 BUG=b/26496701 Committed: https://crrev.com/96838748969e79cc41c364dbe386f3754741e1bb Cr-Commit-Position: refs/heads/master@{#379117}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Moved caching logic to android. #

Patch Set 3 : Added enum instead of booleans for GetNetworks. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -6 lines) Patch
M components/arc/common/net.mojom View 1 2 2 chunks +11 lines, -1 line 0 comments Download
M components/arc/net/arc_net_host_impl.h View 1 2 1 chunk +7 lines, -2 lines 0 comments Download
M components/arc/net/arc_net_host_impl.cc View 1 2 1 chunk +28 lines, -3 lines 1 comment Download

Messages

Total messages: 26 (7 generated)
abhishekbh
PTAL.
4 years, 9 months ago (2016-03-01 05:02:46 UTC) #2
Luis Héctor Chávez
https://codereview.chromium.org/1751793002/diff/1/components/arc/net/arc_net_host_impl.cc File components/arc/net/arc_net_host_impl.cc (right): https://codereview.chromium.org/1751793002/diff/1/components/arc/net/arc_net_host_impl.cc#newcode61 components/arc/net/arc_net_host_impl.cc:61: const GetNetworksCallback& callback) { nit: add DCHECK(thread_checker_.CalledOnValidThread()); here and ...
4 years, 9 months ago (2016-03-01 16:22:31 UTC) #3
Kevin Cernekee
Hmm, I am unclear on why this CL is needed? Is there a specific use ...
4 years, 9 months ago (2016-03-01 17:56:22 UTC) #5
abhishekbh
On 2016/03/01 17:56:22, Kevin Cernekee wrote: > Hmm, I am unclear on why this CL ...
4 years, 9 months ago (2016-03-02 03:07:20 UTC) #6
abhishekbh
On 2016/03/01 16:22:31, Luis Héctor Chávez wrote: > https://codereview.chromium.org/1751793002/diff/1/components/arc/net/arc_net_host_impl.cc > File components/arc/net/arc_net_host_impl.cc (right): > > ...
4 years, 9 months ago (2016-03-02 03:08:03 UTC) #7
Luis Héctor Chávez
On 2016/03/02 03:08:03, abhishekbh wrote: > On 2016/03/01 16:22:31, Luis Héctor Chávez wrote: > > ...
4 years, 9 months ago (2016-03-02 16:26:14 UTC) #8
abhishekbh
PTAL https://codereview.chromium.org/1751793002/diff/1/components/arc/net/arc_net_host_impl.cc File components/arc/net/arc_net_host_impl.cc (right): https://codereview.chromium.org/1751793002/diff/1/components/arc/net/arc_net_host_impl.cc#newcode66 components/arc/net/arc_net_host_impl.cc:66: if (configured_only && visible_only) { On 2016/03/01 16:22:31, ...
4 years, 9 months ago (2016-03-02 19:16:31 UTC) #9
Luis Héctor Chávez
On 2016/03/02 19:16:31, abhishekbh wrote: > PTAL > > https://codereview.chromium.org/1751793002/diff/1/components/arc/net/arc_net_host_impl.cc > File components/arc/net/arc_net_host_impl.cc (right): > ...
4 years, 9 months ago (2016-03-02 19:18:59 UTC) #10
Luis Héctor Chávez
On 2016/03/02 19:18:59, Luis Héctor Chávez wrote: > On 2016/03/02 19:16:31, abhishekbh wrote: > > ...
4 years, 9 months ago (2016-03-02 19:24:40 UTC) #11
Kevin Cernekee
Can we either update the summary to describe the new purpose of this CL, or ...
4 years, 9 months ago (2016-03-02 19:27:38 UTC) #12
abhishekbh
On 2016/03/02 19:24:40, Luis Héctor Chávez wrote: > On 2016/03/02 19:18:59, Luis Héctor Chávez wrote: ...
4 years, 9 months ago (2016-03-03 00:58:29 UTC) #14
abhishekbh
On 2016/03/02 19:27:38, Kevin Cernekee wrote: > Can we either update the summary to describe ...
4 years, 9 months ago (2016-03-03 00:58:40 UTC) #15
abhishekbh
PTAL.
4 years, 9 months ago (2016-03-03 00:58:53 UTC) #16
Kevin Cernekee
LGTM. Please update the description to reflect the API changes.
4 years, 9 months ago (2016-03-03 01:15:11 UTC) #17
dcheng
lgtm https://codereview.chromium.org/1751793002/diff/40001/components/arc/net/arc_net_host_impl.cc File components/arc/net/arc_net_host_impl.cc (right): https://codereview.chromium.org/1751793002/diff/40001/components/arc/net/arc_net_host_impl.cc#newcode84 components/arc/net/arc_net_host_impl.cc:84: } It might be slightly shorter to just ...
4 years, 9 months ago (2016-03-03 05:56:20 UTC) #19
Luis Héctor Chávez
lgtm
4 years, 9 months ago (2016-03-03 15:42:29 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1751793002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1751793002/40001
4 years, 9 months ago (2016-03-03 22:25:32 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-03 22:33:43 UTC) #24
commit-bot: I haz the power
4 years, 9 months ago (2016-03-03 22:35:14 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/96838748969e79cc41c364dbe386f3754741e1bb
Cr-Commit-Position: refs/heads/master@{#379117}

Powered by Google App Engine
This is Rietveld 408576698