========
cd7edfa0b5
Author: Nick Alexander <nalexander@mozilla.com>
Bug 1140812 - Part 3: React to Backoff and Retry-After headers.
========
8581f5a572
Author: Nick Alexander <nalexander@mozilla.com>
Date: Fri Mar 27 15:30:33 2015 -0700
Bug 1140812 - Part 2: Include request in HTTP response observation callbacks.
This allows to only handle responses from certain hosts.
========
05b50325db
Author: Nick Alexander <nalexander@mozilla.com>
Date: Fri Mar 27 14:47:38 2015 -0700
Bug 1140812 - Part 1: Generalize from one to many HTTP response observers.
CopyOnWriteArrayList is a reasonable choice here: we have few writes but
many iterations. See
http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/CopyOnWriteArrayList.html
========
5950219343
Author: Nick Alexander <nalexander@mozilla.com>
Date: Fri Mar 27 16:04:07 2015 -0700
Bug 1140812 - Pre: Modernize backoffInSeconds.
Sync uses X-Backoff; newer services, including Reading List, use Backoff.
========
5dec5a7929
Author: Nick Alexander <nalexander@mozilla.com>
Date: Wed Dec 17 18:03:44 2014 -0800
Bug 956444 - Post: Persist fetch timestamp on 404.
I imported and modified your old code; this looks like an oversight from
there, but I want to call it out. If we don't persist the timestamp,
then the stamp persisted to config is always -1, meaning we GET (and
404) the credentials on every sync. You have code to compare
info/collections against the fetched timestamp so I think we should
persist even on 404.
========
520341ce66
Author: Richard Newman <rnewman@twinql.com>
Date: Thu Jan 2 20:44:58 2014 -0800
Bug 956444 - Part 2: Fetch and process meta/fxa_credentials migration sentinel.
This adds a Sync stage that tries to create a new Firefox Account in the
MigratedFromSync11 state when a known migration sentinel is seen.
========
2f4ea5c14b
Author: Nick Alexander <nalexander@mozilla.com>
Date: Fri Dec 12 16:44:25 2014 -0800
Bug 956444 - Part 1: Add informMigrated callback.
GlobalSession and Sync stages don't have access to the Android Account
object. This callback maintains the existing information hiding.
========
11a8f6c1ef
Author: Nick Alexander <nalexander@mozilla.com>
Date: Fri Dec 12 16:26:02 2014 -0800
Bug 956444 - Pre: Unpickle accounts during package upgrade.
This makes it a little easier to test: you can |adb push| or |adb shell
echo ''| a known sync.accounts.json file onto device and then re-install
the package to restore a known Sync Account.
* * *
Bug 1081287: Use EnumMap where possible in sync. r=rnewman
* * *
Bug 1081287: Use EnumMap where possible. r=rnewman
* * *
Bug 1081287: Use EnumMap where possible. r=rnewman
* * *
Bug 1081287: Use EnumMap where possible. r=rnewman
========
6ced7b05cd
Author: Nick Alexander <nalexander@mozilla.com>
Bug 996749 - Part 3: Finally kill PrefsSource.
========
b37547fbd8
Author: Nick Alexander <nalexander@mozilla.com>
Date: Tue Apr 15 10:47:11 2014 -0700
Bug 996749 - Part 2: Remove storageEndpoint from FxAccountGlobalSession constructor.
This is just a separation of concerns: let's inject our dependency as
configured as possible.
========
42e8fe761f
Author: Nick Alexander <nalexander@mozilla.com>
Date: Mon Apr 14 12:30:21 2014 -0700
Bug 996749 - Part 1: Remove debugAssertion.
This is no longer valuable, since we're not getting timestamp HAWK
errors from the server.