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

Issue 10949030: This converts the Shill clients to allow propagation of shill errors (Closed)

Created:
8 years, 3 months ago by Greg Spencer (Chromium)
Modified:
8 years, 2 months ago
Reviewers:
satorux1, hashimoto
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

This converts the Shill clients to allow propagation of shill errors back from the function calls. The existing implentation completely ignores most shill errors, and the javascript implementation will want to be able to receive them to aid in diagnosis. BUG=chromium:147620, chromium:146616 TEST=Ran unit tests, ran on device. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159325

Patch Set 1 #

Total comments: 41

Patch Set 2 : Review changes #

Total comments: 23

Patch Set 3 : Review changes #

Total comments: 4

Patch Set 4 : review changes #

Total comments: 8

Patch Set 5 : Review changes #

Patch Set 6 : upload after merge #

Patch Set 7 : Fix bad merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+523 lines, -207 lines) Patch
M chrome/browser/chromeos/cros/cros_network_functions.cc View 1 2 3 4 5 14 chunks +71 lines, -28 lines 0 comments Download
M chrome/browser/chromeos/cros/cros_network_functions_unittest.cc View 1 2 3 4 5 15 chunks +38 lines, -24 lines 0 comments Download
M chromeos/dbus/dbus_method_call_status.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/dbus/mock_shill_device_client.h View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M chromeos/dbus/mock_shill_manager_client.h View 1 2 3 4 5 1 chunk +18 lines, -12 lines 0 comments Download
M chromeos/dbus/mock_shill_profile_client.h View 1 2 3 4 5 1 chunk +12 lines, -7 lines 0 comments Download
M chromeos/dbus/mock_shill_service_client.h View 1 2 3 4 5 1 chunk +15 lines, -10 lines 0 comments Download
M chromeos/dbus/shill_client_helper.h View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M chromeos/dbus/shill_client_helper.cc View 1 2 3 4 5 4 chunks +41 lines, -3 lines 0 comments Download
M chromeos/dbus/shill_client_unittest_base.h View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M chromeos/dbus/shill_client_unittest_base.cc View 1 2 3 4 5 2 chunks +17 lines, -3 lines 0 comments Download
M chromeos/dbus/shill_device_client.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/dbus/shill_device_client.cc View 1 2 3 4 5 2 chunks +14 lines, -5 lines 0 comments Download
M chromeos/dbus/shill_device_client_unittest.cc View 1 2 3 4 5 6 chunks +16 lines, -1 line 0 comments Download
M chromeos/dbus/shill_manager_client.h View 1 2 3 4 5 2 chunks +13 lines, -6 lines 0 comments Download
M chromeos/dbus/shill_manager_client.cc View 1 2 3 4 5 2 chunks +47 lines, -34 lines 0 comments Download
M chromeos/dbus/shill_manager_client_unittest.cc View 1 2 3 4 5 6 chunks +44 lines, -6 lines 0 comments Download
M chromeos/dbus/shill_profile_client.h View 1 2 3 4 5 2 chunks +11 lines, -5 lines 0 comments Download
M chromeos/dbus/shill_profile_client.cc View 1 2 3 4 5 5 chunks +32 lines, -20 lines 0 comments Download
M chromeos/dbus/shill_profile_client_unittest.cc View 1 2 3 4 5 3 chunks +18 lines, -3 lines 0 comments Download
M chromeos/dbus/shill_service_client.h View 1 2 3 4 5 2 chunks +10 lines, -5 lines 0 comments Download
M chromeos/dbus/shill_service_client.cc View 1 2 3 4 5 5 chunks +40 lines, -27 lines 0 comments Download
M chromeos/dbus/shill_service_client_unittest.cc View 1 2 3 4 5 6 5 chunks +35 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Greg Spencer (Chromium)
Hashimoto, could you please review this? Satoru, I need OWNERS approval from you for this.
8 years, 3 months ago (2012-09-20 18:22:00 UTC) #1
hashimoto
Could you split this into two changes? One for observer and another for ErrorCallback. http://codereview.chromium.org/10949030/diff/1/chrome/browser/chromeos/cros/cros_network_functions.cc ...
8 years, 3 months ago (2012-09-21 11:52:01 UTC) #2
Greg Spencer (Chromium)
OK, I've split this into two changes. This change will now be just for the ...
8 years, 3 months ago (2012-09-21 22:03:47 UTC) #3
hashimoto
http://codereview.chromium.org/10949030/diff/3003/chrome/browser/chromeos/cros/cros_network_functions.cc File chrome/browser/chromeos/cros/cros_network_functions.cc (right): http://codereview.chromium.org/10949030/diff/3003/chrome/browser/chromeos/cros/cros_network_functions.cc#newcode218 chrome/browser/chromeos/cros/cros_network_functions.cc:218: nit: Remove this blank line. http://codereview.chromium.org/10949030/diff/3003/chrome/browser/chromeos/cros/cros_network_functions.cc#newcode458 chrome/browser/chromeos/cros/cros_network_functions.cc:458: base::Bind(RunCallbackWithDictionaryValueError, callback, ...
8 years, 3 months ago (2012-09-24 02:28:56 UTC) #4
Greg Spencer (Chromium)
http://codereview.chromium.org/10949030/diff/3003/chrome/browser/chromeos/cros/cros_network_functions.cc File chrome/browser/chromeos/cros/cros_network_functions.cc (right): http://codereview.chromium.org/10949030/diff/3003/chrome/browser/chromeos/cros/cros_network_functions.cc#newcode218 chrome/browser/chromeos/cros/cros_network_functions.cc:218: On 2012/09/24 02:28:56, hashimoto wrote: > nit: Remove this ...
8 years, 2 months ago (2012-09-24 21:50:54 UTC) #5
hashimoto
http://codereview.chromium.org/10949030/diff/3003/chromeos/dbus/dbus_method_call_status.h File chromeos/dbus/dbus_method_call_status.h (right): http://codereview.chromium.org/10949030/diff/3003/chromeos/dbus/dbus_method_call_status.h#newcode45 chromeos/dbus/dbus_method_call_status.h:45: const dbus::ObjectPath& result)> ObjectPathCallbackWithoutStatus; On 2012/09/24 21:50:54, Greg Spencer ...
8 years, 2 months ago (2012-09-25 08:08:19 UTC) #6
Greg Spencer (Chromium)
http://codereview.chromium.org/10949030/diff/3003/chromeos/dbus/dbus_method_call_status.h File chromeos/dbus/dbus_method_call_status.h (right): http://codereview.chromium.org/10949030/diff/3003/chromeos/dbus/dbus_method_call_status.h#newcode45 chromeos/dbus/dbus_method_call_status.h:45: const dbus::ObjectPath& result)> ObjectPathCallbackWithoutStatus; On 2012/09/25 08:08:19, hashimoto wrote: ...
8 years, 2 months ago (2012-09-25 18:40:08 UTC) #7
satorux1
LGTM with a nit http://codereview.chromium.org/10949030/diff/29001/chrome/browser/chromeos/cros/cros_network_functions.cc File chrome/browser/chromeos/cros/cros_network_functions.cc (right): http://codereview.chromium.org/10949030/diff/29001/chrome/browser/chromeos/cros/cros_network_functions.cc#newcode349 chrome/browser/chromeos/cros/cros_network_functions.cc:349: base::Bind(&IgnoreErrors)); nit: indentation is off
8 years, 2 months ago (2012-09-25 21:58:41 UTC) #8
hashimoto
lgtm with nits http://codereview.chromium.org/10949030/diff/29001/chromeos/dbus/dbus_method_call_status.h File chromeos/dbus/dbus_method_call_status.h (right): http://codereview.chromium.org/10949030/diff/29001/chromeos/dbus/dbus_method_call_status.h#newcode44 chromeos/dbus/dbus_method_call_status.h:44: typedef base::Callback<void( nit: No need to ...
8 years, 2 months ago (2012-09-26 00:17:34 UTC) #9
Greg Spencer (Chromium)
http://codereview.chromium.org/10949030/diff/29001/chrome/browser/chromeos/cros/cros_network_functions.cc File chrome/browser/chromeos/cros/cros_network_functions.cc (right): http://codereview.chromium.org/10949030/diff/29001/chrome/browser/chromeos/cros/cros_network_functions.cc#newcode349 chrome/browser/chromeos/cros/cros_network_functions.cc:349: base::Bind(&IgnoreErrors)); On 2012/09/25 21:58:41, satorux1 wrote: > nit: indentation ...
8 years, 2 months ago (2012-09-26 23:36:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gspencer@chromium.org/10949030/18004
8 years, 2 months ago (2012-09-28 16:46:56 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 2 months ago (2012-09-28 17:20:46 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gspencer@chromium.org/10949030/25006
8 years, 2 months ago (2012-09-28 17:29:21 UTC) #13
commit-bot: I haz the power
8 years, 2 months ago (2012-09-28 20:34:21 UTC) #14
Change committed as 159325

Powered by Google App Engine
This is Rietveld 408576698