Comment #7 on issue 24973 by [email protected]: Sync gets into  
OFFLINE_UNSYNCED  State once network comes online if Network was Offline  
when Chrome Started
http://code.google.com/p/chromium/issues/detail?id=24973

The following revision refers to this bug:
     http://src.chromium.org/viewvc/chrome?view=rev&revision=29350

------------------------------------------------------------------------
r29350 | [email protected] | 2009-10-16 16:00:24 -0700 (Fri, 16 Oct 2009) |  
13 lines
Changed paths:
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/sync/engine/syncapi.cc?r1=29350&r2=29349

If chrome starts without a network connection, the sync  
serverconnectionmanager won't get an auth_token set until
the Authenticator validates it.  We had a bug where when we come online and  
the server connection manager determines
that a server is reachable, we would drop the request to authenticate  
(which is the first step in getting the auth token
set properly).  This was resulting in subsequent requests returning 401  
UNAUTHORIZED, and sync getting stuck in an offline
state.

The fix is to set the auth token on startup, so the gaia authenticator and  
server connection manager start off on the same
page.

BUG=24973
TEST=setup sync, shutdown chrome. ipconfig /release, start chrome, ipconfig  
/renew. about:sync shoudl show 'READY'.

Review URL: http://codereview.chromium.org/285008
------------------------------------------------------------------------


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to