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

Issue 10826193: Remove SyncManager::Init() return value (Closed)

Created:
8 years, 4 months ago by rlarocque
Modified:
8 years, 4 months ago
Reviewers:
akalin
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing)
Visibility:
Public.

Description

Remove SyncManager::Init() return value The return value was almost entirely unusued. Success or failure is reported through a parameter in the asynchronous callback function. BUG=140180 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150763

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Fix CreateDirectory assertion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -12 lines) Patch
M chrome/browser/sync/glue/sync_backend_host.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M sync/internal_api/public/sync_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/public/test/fake_sync_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/sync_manager_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/sync_manager_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M sync/internal_api/test/fake_sync_manager.cc View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
rlarocque
Please review.
8 years, 4 months ago (2012-08-08 22:05:45 UTC) #1
akalin
http://codereview.chromium.org/10826193/diff/1007/chrome/browser/sync/glue/sync_backend_host.cc File chrome/browser/sync/glue/sync_backend_host.cc (right): http://codereview.chromium.org/10826193/diff/1007/chrome/browser/sync/glue/sync_backend_host.cc#newcode1049 chrome/browser/sync/glue/sync_backend_host.cc:1049: DCHECK(file_util::CreateDirectory(sync_data_folder_path_)); this is dangerous! DCHECKs get compiled out in ...
8 years, 4 months ago (2012-08-08 23:01:46 UTC) #2
rlarocque
Fixed the DCHECK issue. http://codereview.chromium.org/10826193/diff/1007/chrome/browser/sync/glue/sync_backend_host.cc File chrome/browser/sync/glue/sync_backend_host.cc (right): http://codereview.chromium.org/10826193/diff/1007/chrome/browser/sync/glue/sync_backend_host.cc#newcode1049 chrome/browser/sync/glue/sync_backend_host.cc:1049: DCHECK(file_util::CreateDirectory(sync_data_folder_path_)); On 2012/08/08 23:01:46, akalin ...
8 years, 4 months ago (2012-08-09 00:01:38 UTC) #3
akalin
LGTM
8 years, 4 months ago (2012-08-09 00:02:18 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/10826193/1009
8 years, 4 months ago (2012-08-09 00:04:21 UTC) #5
commit-bot: I haz the power
Try job failure for 10826193-1009 (retry) on mac_rel for step "nacl_integration". It's a second try, ...
8 years, 4 months ago (2012-08-09 00:57:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/10826193/1009
8 years, 4 months ago (2012-08-09 06:09:45 UTC) #7
commit-bot: I haz the power
8 years, 4 months ago (2012-08-09 07:24:47 UTC) #8
Change committed as 150763

Powered by Google App Engine
This is Rietveld 408576698