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

Issue 10412026: This fixes static IP setting on Ethernet when using flimflam. (Closed)

Created:
8 years, 7 months ago by Greg Spencer (Chromium)
Modified:
8 years, 7 months ago
Reviewers:
stevenjb, satorux1
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, Paul Stewart, zel, hashimoto
Visibility:
Public.

Description

This fixes static IP setting on Ethernet when using flimflam. The main fix here is to use the ipconfig_static_path instead of ipconfig->device_path when setting the parameters. Also added some logging and cleaned up error messages. Note that this only fixes static IP setting when flimflam is enabled: this code doesn't properly talk to shill for that operation because it still tries to create IPConfigs, which shill doesn't implement. BUG=chromium-os:29050 TEST=Ran on device, configured ethernet for static IP, and verified that it showed up in the flimflam profile. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138233

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changed switch statement #

Total comments: 2

Patch Set 3 : Review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -38 lines) Patch
M chrome/browser/chromeos/cros/cros_network_functions.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/cros/network_ip_config.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/cros/network_ip_config.cc View 1 2 chunks +29 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/cros/network_library_impl_cros.cc View 3 chunks +49 lines, -37 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Greg Spencer (Chromium)
8 years, 7 months ago (2012-05-21 23:22:59 UTC) #1
Greg Spencer (Chromium)
Steven, could you review this please? This needs to be backported to R19...
8 years, 7 months ago (2012-05-21 23:54:11 UTC) #2
stevenjb
lgtm http://codereview.chromium.org/10412026/diff/1/chrome/browser/chromeos/cros/network_ip_config.cc File chrome/browser/chromeos/cros/network_ip_config.cc (right): http://codereview.chromium.org/10412026/diff/1/chrome/browser/chromeos/cros/network_ip_config.cc#newcode23 chrome/browser/chromeos/cros/network_ip_config.cc:23: } Doesn't this need a NOTREACHED() + return ...
8 years, 7 months ago (2012-05-21 23:59:46 UTC) #3
satorux1
+hashimoto. this could be related to the crash issue you were looking? http://codereview.chromium.org/10412026/diff/4002/chrome/browser/chromeos/cros/cros_network_functions.cc File chrome/browser/chromeos/cros/cros_network_functions.cc ...
8 years, 7 months ago (2012-05-22 00:43:07 UTC) #4
Greg Spencer (Chromium)
http://codereview.chromium.org/10412026/diff/4002/chrome/browser/chromeos/cros/cros_network_functions.cc File chrome/browser/chromeos/cros/cros_network_functions.cc (right): http://codereview.chromium.org/10412026/diff/4002/chrome/browser/chromeos/cros/cros_network_functions.cc#newcode1068 chrome/browser/chromeos/cros/cros_network_functions.cc:1068: << " and type " << type_str; On 2012/05/22 ...
8 years, 7 months ago (2012-05-22 00:44:54 UTC) #5
Greg Spencer (Chromium)
http://codereview.chromium.org/10412026/diff/1/chrome/browser/chromeos/cros/network_ip_config.cc File chrome/browser/chromeos/cros/network_ip_config.cc (right): http://codereview.chromium.org/10412026/diff/1/chrome/browser/chromeos/cros/network_ip_config.cc#newcode23 chrome/browser/chromeos/cros/network_ip_config.cc:23: } On 2012/05/21 23:59:46, stevenjb (chromium) wrote: > Doesn't ...
8 years, 7 months ago (2012-05-22 00:45:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gspencer@chromium.org/10412026/8001
8 years, 7 months ago (2012-05-22 01:15:33 UTC) #7
commit-bot: I haz the power
Try job failure for 10412026-8001 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-22 05:33:24 UTC) #8
commit-bot: I haz the power
8 years, 7 months ago (2012-05-22 07:17:41 UTC) #9

Powered by Google App Engine
This is Rietveld 408576698