• cpu@chromium.org's avatar
    Component updater eight piece · cf44261b
    cpu@chromium.org authored
    "in which we beef up the unit tests and find several bugs"
    
    1- When parsing the xml response components not mentioned there were left in "updating" state so they got stranded there.
    2- Wrong condition :
       if ((item->status != CrxUpdateItem::kNoUpdate) ||
    
           (item->status != CrxUpdateItem::kUpToDate))
       So again some components are stranded in the kNoUpdate state.
    
    Also a new precondition ScheduleNextRun() cannot be called if a url_fetcher is in progress.
    
    BUG=61602
    TEST=included
    Review URL: http://codereview.chromium.org/7601019
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96048 0039d316-1c4b-4281-b951-d872f2087c98
    cf44261b
component_updater_service.cc 24.8 KB