Chromium Code Reviews
Help | Chromium Project | Sign in
(706)

Issue 2182001: Create and remove sync nodes whenever preferences flip their managed flag (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
5 years ago by Mattias Nissler
Modified:
4 years ago
Reviewers:
ncarter, albertb, skrul
CC:
chromium-reviews, ben+cc_chromium.org, timsteele, idana, Raghu Simha, Paweł Hajdan Jr., ncarter
Visibility:
Public.

Description

Create and remove sync nodes whenever preferences flip their managed flag BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55706

Patch Set 1 #

Patch Set 2 : clean up pref change observer code #

Total comments: 10

Patch Set 3 : Add initial unit test code, revisit when reloading of managed prefs is actually implemented. #

Patch Set 4 : Update patch. #

Patch Set 5 : Fix unit test. #

Total comments: 10

Patch Set 6 : Address feedback. #

Patch Set 7 : rebase, fix up std::string/std::wstring artefacts. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -102 lines) Patch
M chrome/browser/sync/glue/preference_change_processor.h View 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/preference_change_processor.cc View 1 2 3 4 5 6 4 chunks +32 lines, -25 lines 0 comments Download
M chrome/browser/sync/glue/preference_model_associator.h View 1 2 3 4 5 6 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/preference_model_associator.cc View 1 2 3 4 5 6 2 chunks +64 lines, -54 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_preference_unittest.cc View 3 4 5 6 3 chunks +61 lines, -23 lines 0 comments Download
Commit: CQ not working?

Messages

Total messages: 11 (0 generated)
Mattias Nissler
Albert, here is a first incarnation of sync node maintenance upon managed pref state switches. ...
5 years ago (2010-05-25 16:49:10 UTC) #1
ncarter
You must add unit tests that exercise this code. It would be valuable to have ...
5 years ago (2010-05-25 17:52:54 UTC) #2
Mattias Nissler
Thanks for your input! I also see the need for unit tests, and I'll go ...
5 years ago (2010-05-26 09:52:36 UTC) #3
ncarter
On 2010/05/26 09:52:36, mnissler wrote: > Thanks for your input! I also see the need ...
4 years, 12 months ago (2010-06-01 21:16:10 UTC) #4
Mattias Nissler
On 2010/06/01 21:16:10, nick wrote: > On 2010/05/26 09:52:36, mnissler wrote: > > Thanks for ...
4 years, 12 months ago (2010-06-02 07:08:39 UTC) #5
Mattias Nissler
Nick, can you please take another look? The reloading of policy is now actively being ...
4 years, 10 months ago (2010-08-02 18:14:44 UTC) #6
Mattias Nissler
+skrul No reply? Anyone in sync land who could review this? ;) Thanks.
4 years, 10 months ago (2010-08-04 15:53:37 UTC) #7
skrul
http://codereview.chromium.org/2182001/diff/18001/19001 File chrome/browser/sync/glue/preference_change_processor.cc (right): http://codereview.chromium.org/2182001/diff/18001/19001#newcode57 chrome/browser/sync/glue/preference_change_processor.cc:57: bool user_modifiable = preference->IsUserModifiable(); would it simplify the "if" ...
4 years, 9 months ago (2010-08-09 19:03:18 UTC) #8
albertb
http://codereview.chromium.org/2182001/diff/18001/19003 File chrome/browser/sync/glue/preference_model_associator.cc (right): http://codereview.chromium.org/2182001/diff/18001/19003#newcode89 chrome/browser/sync/glue/preference_model_associator.cc:89: } else if (pref->IsUserControlled()) { I'm a little confused ...
4 years, 9 months ago (2010-08-09 19:08:55 UTC) #9
Mattias Nissler
Thanks for your comments! I just uploaded an updated version. http://codereview.chromium.org/2182001/diff/18001/19001 File chrome/browser/sync/glue/preference_change_processor.cc (right): http://codereview.chromium.org/2182001/diff/18001/19001#newcode57 ...
4 years, 9 months ago (2010-08-10 12:33:22 UTC) #10
skrul
4 years, 9 months ago (2010-08-10 21:19:56 UTC) #11
Great, LGTM!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be