DescriptionReland Integrate invalidation API into ChromeToMobileService.
A continuation of http://codereview.chromium.org/10834203
r152609 reverted original r152609 for debug test crashes:
http://build.chromium.org/p/chromium/builders/Mac%2010.7%20Tests%20%28dbg%29%284%29/builds/100/steps/browser_tests/logs/stdio
Move dtor logic to a ProfileKeyedService::Shutdown OVERRIDE.
This fixes the problem locally (we have no debug trybots?).
Remaining description matches that of the original CL:
======================================================
Update chrome/browser/DEPS with new dependencies:
(google/cacheinvalidation and sync/notifier)
Observe Sync Notifier invalidation notifications:
(depend on this service for mobile list updates)
(refresh the device list on cloud print invalidation)
Remove RequestMobileListUpdate, timestamp, & account info:
(no longer needed with invalidation integration)
(just set command state and icon visibility w/HasMobiles)
Lazily init the access token, queue search/send operations:
(only get an access token as needed, add |task_queue_|)
Allow concurrent cloud print device search requests:
(handle user-triggered updates while fetching the list)
Misc cleanup (CloudPrintUrl handling, tests, etc.)
TODO(followup): Additional logging, tests, invalidation ack.
BUG=102709, 137086
TEST=Chrome To Mobile devices update with cloud print!
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152735
Patch Set 1 #Patch Set 2 : Move ProfileSyncService unregistration code to Shutdown OVERRIDE. #Messages
Total messages: 10 (0 generated)
|