Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Issue 10876009: Re-reland Integrate invalidation API into ChromeToMobileService. (Closed)

Created:
8 years, 4 months ago by msw
Modified:
8 years, 4 months ago
CC:
chromium-reviews, tfarina, nyquist, dcheng, tim (not reviewing)
Visibility:
Public.

Description

Re-reland Integrate invalidation API into ChromeToMobileService. A continuation of http://codereview.chromium.org/10869002 r152745 reverted 2nd attempt r152735 for Mac clobber build break: /b/build/slave/Mac/build/src/chrome/browser/chrome_to_mobile_service.cc:42:10: fatalerror: 'google/cacheinvalidation/types.pb.h' file not found http://build.chromium.org/p/chromium/builders/Mac/builds/16802/steps/compile/logs/stdio#error1 Add cacheinvalidation[_proto_cpp] dependency to chrome_browser.gypi. This fixes my xcodebuild locally (not repro through ninja, etc.) Remaining description matches that of the second CL: ==================================================== Reland 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: ====================================================== Integrate invalidation API into ChromeToMobileService. 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, 133352 TEST=Chrome To Mobile devices update with cloud print! TBR=sky@chromium.org,erg@chromium.org,sail@chromium.org,akalin@chromium.org,thakis@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152801

Patch Set 1 : original patch - was reverted. #

Patch Set 2 : Add cacheinvalidation[_proto_cpp] dependency to chrome_browser.gypi. #

Patch Set 3 : Sync and merge. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -182 lines) Patch
M chrome/browser/DEPS View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_to_mobile_service.h View 9 chunks +32 lines, -20 lines 0 comments Download
M chrome/browser/chrome_to_mobile_service.cc View 14 chunks +122 lines, -120 lines 0 comments Download
M chrome/browser/chrome_to_mobile_service_factory.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_to_mobile_service_factory.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chrome_to_mobile_service_unittest.cc View 2 chunks +13 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm View 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller_unittest.mm View 7 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/gtk/chrome_to_mobile_bubble_gtk.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc View 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
msw
FYI, I TBR'ed everyone relevant and plan to land soon. Sorry about the problems only ...
8 years, 4 months ago (2012-08-22 19:04:54 UTC) #1
commit-bot: I haz the power
8 years, 4 months ago (2012-08-22 19:09:07 UTC) #2

Powered by Google App Engine
This is Rietveld 408576698