DescriptionLimit Chrome To Mobile cloud print access; refinements etc.
Check the user's account info before contacting cloud print.
Only ping cloud print for users of that service.
Make ChromeToMobileService a RefcountedProfileKeyedService.
Add and check |temp_dir_valid_| on GenerateSnapshot.
Fix a JSON DictionaryValue leak from ParseResponseJSON use.
Make |mobiles_| a ScopedVector of DeepCopy DictionaryValues.
Call new ChromeToMobileService::HasDevices for encapsulation.
Call RequestMobileListUpdate from bubbles, not their callers.
Mock RequestMobileListUpdate so tests do not send requests.
Store the service, not the profile, as a bubble class member.
Skip IsSyncAccessible on updates (the first check suffices).
Auto-close on Mac via performSelector, not PostDelayedTask.
cancelPreviousPerformRequestsWithTarget on windowWillClose.
Call OnChanged after UpdateChromeToMobileEnabled for Mac.
(the icon wasn't showing up immediately on Release builds)
BUG=102709, 118691
TEST=Less cloud print traffic. No apparent behavior changes.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129779
Patch Set 1 : Fix HasDevices checks; performSelector instead of PostDelayedTask. #Patch Set 2 : Only check cloud print access with a valid gaia access token. #Patch Set 3 : Mock out RequestMobileListUpdate so tests do not send requests. #
Total comments: 10
Patch Set 4 : Address comments, make ChromeToMobileService RefCountedThreadSafe, etc. #
Total comments: 3
Messages
Total messages: 12 (0 generated)
|