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

Issue 13866037: Ports XMPP Invalidation code from drive_file_sync_service in /sync_file_system to /google_apis/driv… (Closed)

Created:
7 years, 8 months ago by calvinlo
Modified:
7 years, 8 months ago
Reviewers:
kinaba, tzik
CC:
chromium-reviews, tfarina, kinuko+watch, tzik+watch_chromium.org
Visibility:
Public.

Description

Ports XMPP Invalidation code from drive_file_sync_service in /sync_file_system to /google_apis/drive_notification_manager so it can be shared between ChromeOS file manager and SyncFS. Please note that to keep this patch streamlined I've only ported over the XMPP invalidation code for now and will port the polling logic in the next patch. BUG=173339 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194526

Patch Set 1 #

Total comments: 6

Patch Set 2 : tzik review #1 #

Patch Set 3 : taiju review #2 #

Patch Set 4 : adjusted comments #

Patch Set 5 : Rebase for git try #

Patch Set 6 : Rebase #

Patch Set 7 : fix deps order #

Patch Set 8 : DEPS ordering #

Patch Set 9 : Fix DriveFileSyncServiceMockTest.RegisterNewOrigin test #

Total comments: 2

Patch Set 10 : Updated tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -135 lines) Patch
M chrome/browser/google_apis/DEPS View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/google_apis/drive_notification_manager.h View 1 2 3 4 chunks +21 lines, -2 lines 0 comments Download
M chrome/browser/google_apis/drive_notification_manager.cc View 1 2 chunks +95 lines, -6 lines 0 comments Download
M chrome/browser/sync_file_system/drive_file_sync_service.h View 5 chunks +0 lines, -15 lines 0 comments Download
M chrome/browser/sync_file_system/drive_file_sync_service.cc View 1 2 12 chunks +14 lines, -111 lines 0 comments Download
M chrome/browser/sync_file_system/drive_file_sync_service_mock_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
calvinlo
Hi Tzik san, can you please take an initial look.
7 years, 8 months ago (2013-04-11 09:33:48 UTC) #1
tzik
Looks good! https://codereview.chromium.org/13866037/diff/1/chrome/browser/google_apis/drive_notification_manager.cc File chrome/browser/google_apis/drive_notification_manager.cc (right): https://codereview.chromium.org/13866037/diff/1/chrome/browser/google_apis/drive_notification_manager.cc#newcode122 chrome/browser/google_apis/drive_notification_manager.cc:122: LOG(WARNING) << "SetPushNotificationEnabled" << state; Can it ...
7 years, 8 months ago (2013-04-12 02:00:15 UTC) #2
calvinlo
https://codereview.chromium.org/13866037/diff/1/chrome/browser/google_apis/drive_notification_manager.cc File chrome/browser/google_apis/drive_notification_manager.cc (right): https://codereview.chromium.org/13866037/diff/1/chrome/browser/google_apis/drive_notification_manager.cc#newcode122 chrome/browser/google_apis/drive_notification_manager.cc:122: LOG(WARNING) << "SetPushNotificationEnabled" << state; On 2013/04/12 02:00:15, tzik ...
7 years, 8 months ago (2013-04-12 04:41:59 UTC) #3
tzik
https://codereview.chromium.org/13866037/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc File chrome/browser/sync_file_system/drive_file_sync_service.cc (left): https://codereview.chromium.org/13866037/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc#oldcode1121 chrome/browser/sync_file_system/drive_file_sync_service.cc:1121: may_have_unfetched_changes_ = true; On 2013/04/12 04:42:00, calvinlo wrote: > ...
7 years, 8 months ago (2013-04-12 05:12:46 UTC) #4
calvinlo
https://codereview.chromium.org/13866037/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc File chrome/browser/sync_file_system/drive_file_sync_service.cc (left): https://codereview.chromium.org/13866037/diff/1/chrome/browser/sync_file_system/drive_file_sync_service.cc#oldcode1121 chrome/browser/sync_file_system/drive_file_sync_service.cc:1121: may_have_unfetched_changes_ = true; Done. Yeah, I agree, calling CheckForUpdates ...
7 years, 8 months ago (2013-04-12 06:44:38 UTC) #5
calvinlo
+kinaba for google_apis review
7 years, 8 months ago (2013-04-12 06:49:35 UTC) #6
tzik
lgtm
7 years, 8 months ago (2013-04-12 07:23:02 UTC) #7
kinaba
google_apis lgtm
7 years, 8 months ago (2013-04-12 07:32:38 UTC) #8
tzik
lgtm https://codereview.chromium.org/13866037/diff/97001/chrome/browser/sync_file_system/drive_file_sync_service_mock_unittest.cc File chrome/browser/sync_file_system/drive_file_sync_service_mock_unittest.cc (right): https://codereview.chromium.org/13866037/diff/97001/chrome/browser/sync_file_system/drive_file_sync_service_mock_unittest.cc#newcode601 chrome/browser/sync_file_system/drive_file_sync_service_mock_unittest.cc:601: .WillOnce(InvokeGetChangeListWithEmptyChange()); Could you add .RetiresOnSaturation(); since now we ...
7 years, 8 months ago (2013-04-16 09:14:10 UTC) #9
calvinlo
https://codereview.chromium.org/13866037/diff/97001/chrome/browser/sync_file_system/drive_file_sync_service_mock_unittest.cc File chrome/browser/sync_file_system/drive_file_sync_service_mock_unittest.cc (right): https://codereview.chromium.org/13866037/diff/97001/chrome/browser/sync_file_system/drive_file_sync_service_mock_unittest.cc#newcode601 chrome/browser/sync_file_system/drive_file_sync_service_mock_unittest.cc:601: .WillOnce(InvokeGetChangeListWithEmptyChange()); On 2013/04/16 09:14:10, tzik wrote: > Could you ...
7 years, 8 months ago (2013-04-16 09:27:51 UTC) #10
calvinlo
7 years, 8 months ago (2013-04-17 03:26:20 UTC) #11
Message was sent while issue was closed.
Committed patchset #10 manually as r194526 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698