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

Issue 23522050: Provide Shill Error to failure notification (Closed)

Created:
7 years, 3 months ago by stevenjb
Modified:
7 years, 3 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, gspencer+watch_chromium.org, gauravsh+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org
Visibility:
Public.

Description

Provide Shill Error to failure notification The Service.Error property is getting cleared before the notification is displayed; we need to pass it to the notification when we detect the error. (ErrorDetails should not be getting cleared). BUG=291370 R=armansito@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223349

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -22 lines) Patch
M ash/system/chromeos/network/network_connect.cc View 7 chunks +15 lines, -8 lines 0 comments Download
M ash/system/chromeos/network/network_state_notifier.h View 1 chunk +8 lines, -4 lines 0 comments Download
M ash/system/chromeos/network/network_state_notifier.cc View 1 chunk +21 lines, -9 lines 0 comments Download
M chromeos/network/network_connection_handler.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
stevenjb
7 years, 3 months ago (2013-09-14 00:35:16 UTC) #1
armansito
lgtm with one comment. https://codereview.chromium.org/23522050/diff/1/ash/system/chromeos/network/network_connect.cc File ash/system/chromeos/network/network_connect.cc (right): https://codereview.chromium.org/23522050/diff/1/ash/system/chromeos/network/network_connect.cc#newcode172 ash/system/chromeos/network/network_connect.cc:172: NetworkConnectionHandler::kErrorConfigureFailed, "", ""); You may ...
7 years, 3 months ago (2013-09-14 01:13:12 UTC) #2
stevenjb
Committed patchset #2 manually as r223349 (presubmit successful).
7 years, 3 months ago (2013-09-16 16:37:27 UTC) #3
stevenjb
https://codereview.chromium.org/23522050/diff/1/ash/system/chromeos/network/network_connect.cc File ash/system/chromeos/network/network_connect.cc (right): https://codereview.chromium.org/23522050/diff/1/ash/system/chromeos/network/network_connect.cc#newcode172 ash/system/chromeos/network/network_connect.cc:172: NetworkConnectionHandler::kErrorConfigureFailed, "", ""); On 2013/09/14 01:13:12, armansito wrote: > ...
7 years, 3 months ago (2013-09-16 16:38:07 UTC) #4
armansito
7 years, 3 months ago (2013-09-16 19:24:00 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/23522050/diff/1/ash/system/chromeos/network/n...
File ash/system/chromeos/network/network_connect.cc (right):

https://codereview.chromium.org/23522050/diff/1/ash/system/chromeos/network/n...
ash/system/chromeos/network/network_connect.cc:172:
NetworkConnectionHandler::kErrorConfigureFailed, "", "");
On 2013/09/16 16:38:07, stevenjb wrote:
> On 2013/09/14 01:13:12, armansito wrote:
> > You may want to always check the contents of |error_data| instead of
assigning
> > an empty string, as shill might have set the error.
> 
> This still needs a re-factoring / cleanup pass, but right now if 'error_name'
==
> "kErrorConfigureFailed", 'shill_error' will be ignored.

sgtm

Powered by Google App Engine
This is Rietveld 408576698