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

Issue 258753002: prefs / sync: rewrite ProfileSyncServicePreferenceTest to rely on sync/api instead of c/b/s/glue. (Closed)

Created:
6 years, 8 months ago by tim (not reviewing)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, maniscalco+watch_chromium.org
Visibility:
Public.

Description

prefs / sync: rewrite ProfileSyncServicePreferenceTest to rely on sync/api instead of c/b/s/glue. There's no need to use GenericChangeProcessor for a test like this. TBR=mnissler@chromium.org BUG=339726 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267009

Patch Set 1 #

Total comments: 13

Patch Set 2 : review #

Patch Set 3 : TestPrefSyncableService #

Total comments: 1

Patch Set 4 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+710 lines, -918 lines) Patch
M chrome/browser/prefs/pref_model_associator.h View 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/prefs/prefs_syncable_service_unittest.cc View 1 2 3 1 chunk +708 lines, -0 lines 0 comments Download
D chrome/browser/sync/profile_sync_service_preference_unittest.cc View 1 chunk +0 lines, -916 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
tim (not reviewing)
6 years, 8 months ago (2014-04-25 03:03:23 UTC) #1
Mattias Nissler (ping if slow)
I think zea@ originally wrote this code, so he should review. I'm happy to rubber-stamp ...
6 years, 8 months ago (2014-04-25 09:10:33 UTC) #2
tim (not reviewing)
Ah, thanks. In that case, probably only zea@ is required to review (rlarocque, feel free ...
6 years, 8 months ago (2014-04-25 16:32:55 UTC) #3
Nicolas Zea
https://codereview.chromium.org/258753002/diff/1/chrome/browser/prefs/pref_model_associator.h File chrome/browser/prefs/pref_model_associator.h (right): https://codereview.chromium.org/258753002/diff/1/chrome/browser/prefs/pref_model_associator.h#newcode5 chrome/browser/prefs/pref_model_associator.h:5: #ifndef CHROME_BROWSER_PREFS_PREF_MODEL_ASSOCIATOR_H_ Should we go ahead and rename this ...
6 years, 8 months ago (2014-04-25 20:43:18 UTC) #4
Mattias Nissler (ping if slow)
https://codereview.chromium.org/258753002/diff/1/chrome/browser/prefs/pref_model_associator.h File chrome/browser/prefs/pref_model_associator.h (right): https://codereview.chromium.org/258753002/diff/1/chrome/browser/prefs/pref_model_associator.h#newcode5 chrome/browser/prefs/pref_model_associator.h:5: #ifndef CHROME_BROWSER_PREFS_PREF_MODEL_ASSOCIATOR_H_ On 2014/04/25 20:43:18, Nicolas Zea wrote: > ...
6 years, 7 months ago (2014-04-28 11:35:41 UTC) #5
tim (not reviewing)
https://codereview.chromium.org/258753002/diff/1/chrome/browser/prefs/pref_model_associator.h File chrome/browser/prefs/pref_model_associator.h (right): https://codereview.chromium.org/258753002/diff/1/chrome/browser/prefs/pref_model_associator.h#newcode5 chrome/browser/prefs/pref_model_associator.h:5: #ifndef CHROME_BROWSER_PREFS_PREF_MODEL_ASSOCIATOR_H_ On 2014/04/25 20:43:18, Nicolas Zea wrote: > ...
6 years, 7 months ago (2014-04-28 18:28:51 UTC) #6
tim (not reviewing)
https://codereview.chromium.org/258753002/diff/1/chrome/browser/prefs/pref_model_associator.h File chrome/browser/prefs/pref_model_associator.h (right): https://codereview.chromium.org/258753002/diff/1/chrome/browser/prefs/pref_model_associator.h#newcode5 chrome/browser/prefs/pref_model_associator.h:5: #ifndef CHROME_BROWSER_PREFS_PREF_MODEL_ASSOCIATOR_H_ On 2014/04/28 18:28:51, timsteele wrote: > On ...
6 years, 7 months ago (2014-04-28 18:29:51 UTC) #7
Nicolas Zea
https://codereview.chromium.org/258753002/diff/1/chrome/browser/prefs/prefs_syncable_service_unittest.cc File chrome/browser/prefs/prefs_syncable_service_unittest.cc (right): https://codereview.chromium.org/258753002/diff/1/chrome/browser/prefs/prefs_syncable_service_unittest.cc#newcode85 chrome/browser/prefs/prefs_syncable_service_unittest.cc:85: profile_ = profile_manager_.CreateTestingProfile( On 2014/04/28 18:28:51, timsteele wrote: > ...
6 years, 7 months ago (2014-04-28 18:38:54 UTC) #8
tim (not reviewing)
Removed profile stuff to use TestPrefServiceSyncable directly.
6 years, 7 months ago (2014-04-28 20:01:24 UTC) #9
Nicolas Zea
LGTM https://codereview.chromium.org/258753002/diff/60001/chrome/browser/prefs/prefs_syncable_service_unittest.cc File chrome/browser/prefs/prefs_syncable_service_unittest.cc (right): https://codereview.chromium.org/258753002/diff/60001/chrome/browser/prefs/prefs_syncable_service_unittest.cc#newcode201 chrome/browser/prefs/prefs_syncable_service_unittest.cc:201: scoped_ptr<TestingPrefServiceSyncable> prefs_; nit: does this need to be ...
6 years, 7 months ago (2014-04-28 20:10:28 UTC) #10
tim (not reviewing)
On 2014/04/28 20:10:28, Nicolas Zea wrote: > LGTM > > https://codereview.chromium.org/258753002/diff/60001/chrome/browser/prefs/prefs_syncable_service_unittest.cc > File chrome/browser/prefs/prefs_syncable_service_unittest.cc (right): ...
6 years, 7 months ago (2014-04-28 20:23:19 UTC) #11
tim (not reviewing)
moving mnissler to TBR under the assumption he still was planning to rubber-stamp following zea's ...
6 years, 7 months ago (2014-04-29 18:47:17 UTC) #12
tim (not reviewing)
The CQ bit was checked by tim@chromium.org
6 years, 7 months ago (2014-04-29 18:47:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/258753002/80001
6 years, 7 months ago (2014-04-29 18:49:12 UTC) #14
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 00:39:42 UTC) #15
Message was sent while issue was closed.
Change committed as 267009

Powered by Google App Engine
This is Rietveld 408576698