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

Issue 11316270: SyncFileSystem: Register origin only after the local-side initialization finishes successfully (Closed)

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

Description

SyncFileSystem: Register origin only after the local-side initialization finishes successfully Two reasons to do this: - We should prevent LocalFileSystemService's RemoteChangeProcessor methods from being called for origins that may not have been initialized in the local side yet. (If we run the initialization simultaneously it's not straightforward to disallow this) - It's not easy to undo the RegisterOrigin if local-side's initialization fails. BUG=none TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170716

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -9 lines) Patch
M chrome/browser/sync_file_system/sync_file_system_service.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/sync_file_system_service.cc View 2 chunks +21 lines, -9 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kinuko
P.T.L! Thanks,
8 years ago (2012-11-30 11:05:30 UTC) #1
nhiroki
lgtm
8 years ago (2012-12-03 04:13:28 UTC) #2
kinuko
Will be submitting as this'd be a simple change... Taiju, please feel free to shout ...
8 years ago (2012-12-03 06:11:18 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinuko@chromium.org/11316270/1
8 years ago (2012-12-03 06:11:35 UTC) #4
tzik
8 years ago (2012-12-03 06:18:03 UTC) #5
LGTM. Sorry for slow review..

Powered by Google App Engine
This is Rietveld 408576698