0
Files
src/sync
rlarocque@chromium.org 268f79d238 Support for shared invalidator client IDs
Allow the Java side of the Andorid invalidations implementation to share
its client ID with its associated C++ classes.

The InvalidationController class will prefer to use an ID from a provided
UniqueIdentificationGeneratorFactory.  This ID would have the advantage of
persisting across restarts, which is necessary to ensure effective reflection
blocking.

If the UniqueIdentificationGeneratorFactory has not been provided, as may be
the case in tests, the InvalidationController will generate its own temporary
ID.  This will effectievely disable reflection blocking, but it's better than
returning a consistent ID (since that would risk blocking notifications that we
actually need).  This randomly generated ID is not much different from the
randomly generated ID created by the InvalidationService prior to this CL.

At the time of this writing, the code to set up the
UniqueIDGeneratorFactory is not in place.  This will be added in a later
commit.  Until then, reflection blocking will remain broken.

BUG=172391

Review URL: https://codereview.chromium.org/54923003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234524 0039d316-1c4b-4281-b951-d872f2087c98
2013-11-12 15:36:23 +00:00
..
2013-09-05 23:30:01 +00:00
2013-09-03 21:20:54 +00:00