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

Issue 10966002: Add cache_guid accessor to UserShare (Closed)

Created:
8 years, 3 months ago by rlarocque
Modified:
8 years ago
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, nyquist
Visibility:
Public.

Description

Add cache_guid accessor to UserShare This helps reduce the number of places in chrome/browser/sync that need access to the syncable::Directory. BUG=131130

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make UserShare into a class #

Patch Set 3 : Update + back to small patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -10 lines) Patch
M chrome/browser/sync/glue/session_model_associator.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/session_model_associator.cc View 1 2 5 chunks +5 lines, -9 lines 0 comments Download
M sync/internal_api/public/user_share.h View 2 1 chunk +3 lines, -0 lines 0 comments Download
M sync/internal_api/user_share.cc View 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
rlarocque
This is another fragment of the DeviceInfo mega-patch (http://codereview.chromium.org/10911073/). Please review.
8 years, 3 months ago (2012-09-20 01:20:34 UTC) #1
Nicolas Zea
+Tim for UserShare change. Also, is it possible to remove the DEPS we mentioned before ...
8 years, 3 months ago (2012-09-20 18:01:34 UTC) #2
rlarocque
On 2012/09/20 18:01:34, nzea wrote: > +Tim for UserShare change. > > Also, is it ...
8 years, 3 months ago (2012-09-24 22:16:37 UTC) #3
rlarocque
On 2012/09/24 22:16:37, rlarocque wrote: > On 2012/09/20 18:01:34, nzea wrote: > > +Tim for ...
8 years, 2 months ago (2012-09-28 17:38:22 UTC) #4
tim (not reviewing)
At one time I had hoped to remove the need for UserShare, since SBH should ...
8 years, 2 months ago (2012-09-28 19:00:54 UTC) #5
rlarocque
You're right, it probably should be a class. I'll try to hide the members, provide ...
8 years, 2 months ago (2012-09-28 19:06:42 UTC) #6
rlarocque
That didn't turn out very well. There's a circular dependency during initialization. The UserShare requires ...
8 years, 2 months ago (2012-09-28 20:38:21 UTC) #7
rlarocque
I tried to move the assignment of SyncEncryptionHandler's user_share_ pointer to its Init() function in ...
8 years, 2 months ago (2012-10-02 01:05:57 UTC) #8
rlarocque
Ping. Would there be any objection to committing this according to the original plan, which ...
8 years, 1 month ago (2012-11-13 21:57:56 UTC) #9
rlarocque
On 2012/11/13 21:57:56, rlarocque wrote: > Ping. > > Would there be any objection to ...
8 years, 1 month ago (2012-11-13 22:33:20 UTC) #10
tim (not reviewing)
On 2012/11/13 22:33:20, rlarocque wrote: > On 2012/11/13 21:57:56, rlarocque wrote: > > Ping. > ...
8 years, 1 month ago (2012-11-14 00:04:55 UTC) #11
Nicolas Zea
Remind me, is there a reason we can't just have the PSS provide the cache ...
8 years, 1 month ago (2012-11-14 00:09:45 UTC) #12
rlarocque
On 2012/11/14 00:09:45, Nicolas Zea wrote: > Remind me, is there a reason we can't ...
8 years, 1 month ago (2012-11-14 00:32:28 UTC) #13
tim (not reviewing)
On 2012/11/14 00:32:28, rlarocque wrote: > On 2012/11/14 00:09:45, Nicolas Zea wrote: > > Remind ...
8 years, 1 month ago (2012-11-14 00:58:16 UTC) #14
Nicolas Zea
On 2012/11/14 00:32:28, rlarocque wrote: > On 2012/11/14 00:09:45, Nicolas Zea wrote: > > Remind ...
8 years, 1 month ago (2012-11-14 01:01:59 UTC) #15
rlarocque
On 2012/11/14 00:58:16, timsteele wrote: > On 2012/11/14 00:32:28, rlarocque wrote: > > On 2012/11/14 ...
8 years, 1 month ago (2012-11-14 01:10:14 UTC) #16
rlarocque
On 2012/11/14 01:01:59, Nicolas Zea wrote: > On 2012/11/14 00:32:28, rlarocque wrote: > > On ...
8 years, 1 month ago (2012-11-14 01:22:42 UTC) #17
Nicolas Zea
On 2012/11/14 01:22:42, rlarocque wrote: > On 2012/11/14 01:01:59, Nicolas Zea wrote: > > On ...
8 years, 1 month ago (2012-11-14 01:30:28 UTC) #18
tim (not reviewing)
On 2012/11/14 01:30:28, Nicolas Zea wrote: > On 2012/11/14 01:22:42, rlarocque wrote: > > On ...
8 years, 1 month ago (2012-11-14 01:37:30 UTC) #19
rlarocque
> > > Is it our intention to hide the fact that the UserShare contains ...
8 years, 1 month ago (2012-11-14 19:31:19 UTC) #20
tim (not reviewing)
That sounds good. Maybe we can store the cache_guid somewhere for the model associator to ...
8 years, 1 month ago (2012-11-14 21:04:15 UTC) #21
rlarocque
8 years, 1 month ago (2012-11-15 01:10:18 UTC) #22
> OK, so how about this plan:
> - Expose a cache_guid accessor on SyncManager.
> - SyncBackendHost will pass it in to the SyncedDeviceTracker when we
initialize
> it.
> - Do nothing to fix the DEPS exception currently required for the model
> associator.
> 

This is done.  The changes have been squashed into
http://codereview.chromium.org/11360259/.

Powered by Google App Engine
This is Rietveld 408576698