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

Issue 7530023: sync: Disable network change notifications for unauthenticated users. (Closed)

Created:
9 years, 4 months ago by tim (not reviewing)
Modified:
9 years, 4 months ago
Reviewers:
lipalani, akalin, lipalani1
CC:
chromium-reviews, Raghu Simha, ncarter (slow), tim (not reviewing)
Visibility:
Public.

Description

sync: Disable network change notifications for unauthenticated users. BUG=90944 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=94624

Patch Set 1 #

Total comments: 2

Patch Set 2 : review #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M chrome/browser/sync/engine/syncapi.cc View 1 7 chunks +14 lines, -0 lines 3 comments Download

Messages

Total messages: 5 (0 generated)
tim (not reviewing)
bug# coming
9 years, 4 months ago (2011-07-29 02:24:36 UTC) #1
lipalani1
lgtm. 2 comments. http://codereview.chromium.org/7530023/diff/1/chrome/browser/sync/engine/syncapi.cc File chrome/browser/sync/engine/syncapi.cc (right): http://codereview.chromium.org/7530023/diff/1/chrome/browser/sync/engine/syncapi.cc#newcode1631 chrome/browser/sync/engine/syncapi.cc:1631: // TODO(tim): Trying to debug 401-request-loop, ...
9 years, 4 months ago (2011-07-29 02:30:38 UTC) #2
tim (not reviewing)
done
9 years, 4 months ago (2011-07-29 02:41:35 UTC) #3
akalin
Drive-by. http://codereview.chromium.org/7530023/diff/2002/chrome/browser/sync/engine/syncapi.cc File chrome/browser/sync/engine/syncapi.cc (right): http://codereview.chromium.org/7530023/diff/2002/chrome/browser/sync/engine/syncapi.cc#newcode1632 chrome/browser/sync/engine/syncapi.cc:1632: bool observing_ip_address_changes_; I think having 'bool has_valid_credentials_;' is ...
9 years, 4 months ago (2011-07-29 03:08:57 UTC) #4
lipalani
9 years, 4 months ago (2011-07-29 03:13:41 UTC) #5
Just addressing your second comment. I thought in similar lines but did not
think it was worth changing because having it true would mimic the current
behavior closely. If we are changing that we have to consider sync
scheduler's server connection OK variable initialization closely.
On Jul 28, 2011 8:08 PM, <akalin@chromium.org> wrote:
> Drive-by.
>
>
>
http://codereview.chromium.org/7530023/diff/2002/chrome/browser/sync/engine/s...
> File chrome/browser/sync/engine/syncapi.cc (right):
>
>
http://codereview.chromium.org/7530023/diff/2002/chrome/browser/sync/engine/s...
> chrome/browser/sync/engine/syncapi.cc:1632: bool
> observing_ip_address_changes_;
> I think having 'bool has_valid_credentials_;' is clearer, since that's
> what actually matters.
>
>
http://codereview.chromium.org/7530023/diff/2002/chrome/browser/sync/engine/s...
> chrome/browser/sync/engine/syncapi.cc:1777:
> observing_ip_address_changes_ = true;
> shouldn't this remain false? We're initing, but we don't yet have valid
> creds, do we?
>
>
http://codereview.chromium.org/7530023/diff/2002/chrome/browser/sync/engine/s...
> chrome/browser/sync/engine/syncapi.cc:2272: VLOG(1) << "IP address
> change dropped.";
> VLOG can also say something like "IP address changed but no valid
> credentials; ignoring"
>
> http://codereview.chromium.org/7530023/

Powered by Google App Engine
This is Rietveld 408576698