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

Issue 552162: Add an implementation for async_network_alive to Linux (Closed)

Created:
10 years, 11 months ago by Zachary Kuznia
Modified:
9 years, 7 months ago
Reviewers:
akalin
CC:
chromium-reviews, ncarter (slow), ben+cc_chromium.org, tim (not reviewing), idana
Visibility:
Public.

Description

Add an implementation for async_network_alive to Linux BUG=33091 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37342

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -20 lines) Patch
M chrome/browser/sync/engine/syncapi.cc View 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/sync/notifier/base/linux/async_network_alive_linux.cc View 1 1 chunk +124 lines, -0 lines 0 comments Download
D chrome/browser/sync/notifier/base/linux/network_status_detector_task_linux.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/chrome.gyp View 2 chunks +1 line, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Zachary Kuznia
10 years, 11 months ago (2010-01-26 21:57:23 UTC) #1
akalin
Add a comment about how this is copied from syncapi.cc. I'm not an expert on ...
10 years, 11 months ago (2010-01-27 01:24:50 UTC) #2
Zachary Kuznia
http://codereview.chromium.org/552162/diff/1/2 File chrome/browser/sync/notifier/base/linux/async_network_alive_linux.cc (right): http://codereview.chromium.org/552162/diff/1/2#newcode20 chrome/browser/sync/notifier/base/linux/async_network_alive_linux.cc:20: if (pipe(exit_pipe_) == -1) { On 2010/01/27 01:24:50, akalin ...
10 years, 11 months ago (2010-01-27 22:33:29 UTC) #3
akalin
LGTM. On 2010/01/27 22:33:29, zork wrote: > http://codereview.chromium.org/552162/diff/1/2 > File chrome/browser/sync/notifier/base/linux/async_network_alive_linux.cc > (right): > > ...
10 years, 11 months ago (2010-01-27 22:36:34 UTC) #4
akalin
10 years, 11 months ago (2010-01-27 22:38:55 UTC) #5
oh and mention 33091 in the change description.

On 2010/01/27 22:36:34, akalin wrote:
> LGTM.
> 
> On 2010/01/27 22:33:29, zork wrote:
> > http://codereview.chromium.org/552162/diff/1/2
> > File chrome/browser/sync/notifier/base/linux/async_network_alive_linux.cc
> > (right):
> > 
> > http://codereview.chromium.org/552162/diff/1/2#newcode20
> > chrome/browser/sync/notifier/base/linux/async_network_alive_linux.cc:20: if
> > (pipe(exit_pipe_) == -1) {
> > On 2010/01/27 01:24:50, akalin wrote:
> > > PLOG(ERROR) something here
> > 
> > Done.
> > 
> > http://codereview.chromium.org/552162/diff/1/2#newcode27
> > chrome/browser/sync/notifier/base/linux/async_network_alive_linux.cc:27:
> > close(exit_pipe_[1]);
> > On 2010/01/27 01:24:50, akalin wrote:
> > > shouldn't this condition on exit_pipe_[1]
> > 
> > Done.
> > 
> > http://codereview.chromium.org/552162/diff/1/2#newcode61
> > chrome/browser/sync/notifier/base/linux/async_network_alive_linux.cc:61:
> > LOG(ERROR) << "select() returned unexpected result " << result;
> > On 2010/01/27 01:24:50, akalin wrote:
> > > PLOG
> > 
> > Done.
> > 
> > http://codereview.chromium.org/552162/diff/1/2#newcode87
> > chrome/browser/sync/notifier/base/linux/async_network_alive_linux.cc:87: //
If
> > there is an active connection, check that http://www.google.com:80
> > On 2010/01/27 01:24:50, akalin wrote:
> > > fix comment to say http://talk.google.com
> > 
> > Done.
> > 
> > http://codereview.chromium.org/552162/diff/1/2#newcode105
> > chrome/browser/sync/notifier/base/linux/async_network_alive_linux.cc:105:
> > LOG(WARNING) << "Error sending error signal to AsyncNetworkAliveLinux";
> > On 2010/01/27 01:24:50, akalin wrote:
> > > PLOG
> > 
> > Done.

Powered by Google App Engine
This is Rietveld 408576698