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

Issue 14623008: [SyncFileSystem] Remove existing entry on LocalFileSyncContext::ApplyRemoteChange call. (Closed)

Created:
7 years, 7 months ago by tzik
Modified:
7 years, 7 months ago
Reviewers:
kinuko
CC:
chromium-reviews, tzik+watch_chromium.org, kinuko+watch, darin-cc_chromium.org
Visibility:
Public.

Description

[SyncFileSystem] Remove existing entry on LocalFileSyncContext::ApplyRemoteChange call. As a preparation of the directory support of Sync FileSystem, it's convenient that ApplyRemoteChange handles overwrite for different type files. BUG=231852 TEST="content_unittests --gtest_filter='LocalfileSyncContextTest.*" NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=197587

Patch Set 1 #

Patch Set 2 : testfix #

Total comments: 4

Patch Set 3 : address review comments #

Patch Set 4 : +sync_statu() check #

Patch Set 5 : buildfix #

Total comments: 2

Patch Set 6 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -42 lines) Patch
M webkit/fileapi/syncable/local_file_sync_context.h View 1 chunk +8 lines, -0 lines 0 comments Download
M webkit/fileapi/syncable/local_file_sync_context.cc View 1 2 3 4 5 1 chunk +73 lines, -36 lines 0 comments Download
M webkit/fileapi/syncable/local_file_sync_context_unittest.cc View 1 2 1 chunk +18 lines, -6 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
tzik
PTAL
7 years, 7 months ago (2013-04-30 10:27:59 UTC) #1
kinuko
lgtm https://codereview.chromium.org/14623008/diff/4001/webkit/fileapi/syncable/local_file_sync_context.cc File webkit/fileapi/syncable/local_file_sync_context.cc (right): https://codereview.chromium.org/14623008/diff/4001/webkit/fileapi/syncable/local_file_sync_context.cc#newcode231 webkit/fileapi/syncable/local_file_sync_context.cc:231: base::PlatformFileError error) { Can you add a comment ...
7 years, 7 months ago (2013-04-30 13:31:09 UTC) #2
tzik
Thanks! https://codereview.chromium.org/14623008/diff/4001/webkit/fileapi/syncable/local_file_sync_context.cc File webkit/fileapi/syncable/local_file_sync_context.cc (right): https://codereview.chromium.org/14623008/diff/4001/webkit/fileapi/syncable/local_file_sync_context.cc#newcode231 webkit/fileapi/syncable/local_file_sync_context.cc:231: base::PlatformFileError error) { On 2013/04/30 13:31:09, kinuko wrote: ...
7 years, 7 months ago (2013-04-30 13:54:40 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/14623008/12001
7 years, 7 months ago (2013-04-30 13:54:53 UTC) #4
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_net_tests, chrome_frame_tests, chrome_frame_unittests, content_browsertests, installer_util_unittests, mini_installer_test, ...
7 years, 7 months ago (2013-04-30 15:54:10 UTC) #5
kinuko
https://codereview.chromium.org/14623008/diff/21001/webkit/fileapi/syncable/local_file_sync_context.cc File webkit/fileapi/syncable/local_file_sync_context.cc (right): https://codereview.chromium.org/14623008/diff/21001/webkit/fileapi/syncable/local_file_sync_context.cc#newcode231 webkit/fileapi/syncable/local_file_sync_context.cc:231: base::PlatformFileError error) { Can you check sync_status() here and ...
7 years, 7 months ago (2013-05-01 02:22:12 UTC) #6
tzik
Thanks! Done.
7 years, 7 months ago (2013-05-01 02:33:39 UTC) #7
kinuko
lgtm https://codereview.chromium.org/14623008/diff/31001/webkit/fileapi/syncable/local_file_sync_context.cc File webkit/fileapi/syncable/local_file_sync_context.cc (right): https://codereview.chromium.org/14623008/diff/31001/webkit/fileapi/syncable/local_file_sync_context.cc#newcode232 webkit/fileapi/syncable/local_file_sync_context.cc:232: // Ignore |error| on this deletion. nit: It's ...
7 years, 7 months ago (2013-05-01 05:05:41 UTC) #8
tzik
https://codereview.chromium.org/14623008/diff/31001/webkit/fileapi/syncable/local_file_sync_context.cc File webkit/fileapi/syncable/local_file_sync_context.cc (right): https://codereview.chromium.org/14623008/diff/31001/webkit/fileapi/syncable/local_file_sync_context.cc#newcode232 webkit/fileapi/syncable/local_file_sync_context.cc:232: // Ignore |error| on this deletion. On 2013/05/01 05:05:41, ...
7 years, 7 months ago (2013-05-01 05:45:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/14623008/37001
7 years, 7 months ago (2013-05-01 05:45:40 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) ash_unittests, aura_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, check_deps, ...
7 years, 7 months ago (2013-05-01 06:17:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/14623008/37001
7 years, 7 months ago (2013-05-01 06:20:58 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=109058
7 years, 7 months ago (2013-05-01 07:43:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/14623008/37001
7 years, 7 months ago (2013-05-01 08:07:26 UTC) #14
commit-bot: I haz the power
7 years, 7 months ago (2013-05-01 08:07:35 UTC) #15
Message was sent while issue was closed.
Change committed as 197587

Powered by Google App Engine
This is Rietveld 408576698