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

Issue 8938013: [Sync] Make SyncBackendHost::Core use a WeakHandle to its host (Closed)

Created:
9 years ago by akalin
Modified:
9 years ago
Reviewers:
Nicolas Zea
CC:
chromium-reviews, Raghu Simha, ncarter (slow)
Visibility:
Public.

Description

[Sync] Make SyncBackendHost::Core use a WeakHandle to its host This removes a lot of boilerplate with checking host_ (which was never [locally] thread-safe, anyway). Make as many things in SyncBackendHost private as possible. BUG=103410, 107279 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114597

Patch Set 1 #

Patch Set 2 : sync to head #

Total comments: 4

Patch Set 3 : Address comments #

Patch Set 4 : Sync to head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+461 lines, -457 lines) Patch
M chrome/browser/sync/glue/sync_backend_host.h View 1 2 11 chunks +123 lines, -123 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.cc View 1 2 3 20 chunks +324 lines, -321 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.h View 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.cc View 1 2 2 chunks +13 lines, -9 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
akalin
+zea for review Sorry for the lame diff. I moved some code around.
9 years ago (2011-12-14 02:34:38 UTC) #1
tim (not reviewing)
On 2011/12/14 02:34:38, akalin wrote: > +zea for review > > Sorry for the lame ...
9 years ago (2011-12-14 03:17:02 UTC) #2
akalin
On 2011/12/14 03:17:02, timsteele wrote: > On 2011/12/14 02:34:38, akalin wrote: > > +zea for ...
9 years ago (2011-12-14 07:44:48 UTC) #3
Nicolas Zea
http://codereview.chromium.org/8938013/diff/8001/chrome/browser/sync/glue/sync_backend_host.cc File chrome/browser/sync/glue/sync_backend_host.cc (right): http://codereview.chromium.org/8938013/diff/8001/chrome/browser/sync/glue/sync_backend_host.cc#newcode140 chrome/browser/sync/glue/sync_backend_host.cc:140: base::Bind(&MakeHttpBridgeFactory, Since MakeHttpBridgeFactory is now an anon function, do ...
9 years ago (2011-12-14 20:37:25 UTC) #4
akalin
PTAL http://codereview.chromium.org/8938013/diff/8001/chrome/browser/sync/glue/sync_backend_host.cc File chrome/browser/sync/glue/sync_backend_host.cc (right): http://codereview.chromium.org/8938013/diff/8001/chrome/browser/sync/glue/sync_backend_host.cc#newcode140 chrome/browser/sync/glue/sync_backend_host.cc:140: base::Bind(&MakeHttpBridgeFactory, On 2011/12/14 20:37:25, nzea wrote: > Since ...
9 years ago (2011-12-15 01:21:05 UTC) #5
Nicolas Zea
LGTM
9 years ago (2011-12-15 01:34:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akalin@chromium.org/8938013/13001
9 years ago (2011-12-15 01:43:13 UTC) #7
commit-bot: I haz the power
Can't apply patch for file chrome/browser/sync/glue/sync_backend_host.cc. While running patch -p1 --forward --force; patching file chrome/browser/sync/glue/sync_backend_host.cc ...
9 years ago (2011-12-15 01:43:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akalin@chromium.org/8938013/20001
9 years ago (2011-12-15 02:30:15 UTC) #9
commit-bot: I haz the power
9 years ago (2011-12-15 05:04:32 UTC) #10
Change committed as 114597

Powered by Google App Engine
This is Rietveld 408576698