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

Issue 331433002: Pull GetMutableValue from Perisistent to WritablePrefStore. (Closed)

Created:
6 years, 6 months ago by erikwright (departed)
Modified:
6 years, 5 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, robertshield, Bernhard Bauer, Mattias Nissler (ping if slow), battre, pamg1
Visibility:
Public.

Description

Pull GetMutableValue from Perisistent to WritablePrefStore. GetMutableValue is useful for updating parts of a DictionaryValue. I want to use this for a DictionaryValue-backed preference store, and I don't want to implement the rest of the functionality of PersistentPrefStore. BUG=372547

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -10 lines) Patch
M base/prefs/persistent_pref_store.h View 1 chunk +0 lines, -10 lines 2 comments Download
M base/prefs/value_map_pref_store.h View 1 chunk +3 lines, -0 lines 0 comments Download
M base/prefs/value_map_pref_store.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M base/prefs/writeable_pref_store.h View 1 chunk +11 lines, -0 lines 1 comment Download

Messages

Total messages: 13 (0 generated)
erikwright (departed)
gab: PTAL.
6 years, 6 months ago (2014-06-11 18:42:09 UTC) #1
gab
Please explain what motivates this change in the CL description. I will defer to Bernhard ...
6 years, 6 months ago (2014-06-11 19:01:32 UTC) #2
erikwright (departed)
Please see https://codereview.chromium.org/324493002/ for a work-in-progress CL that demonstrates how I plan to use this.
6 years, 6 months ago (2014-06-11 21:11:16 UTC) #3
gab
Both Mattias and Bernhard appear to be OOO. This API change is simple and reasonable ...
6 years, 6 months ago (2014-06-12 14:55:16 UTC) #4
gab
+CC pam (see above) -- are pam/pamg the same person?! :-)
6 years, 6 months ago (2014-06-12 14:56:54 UTC) #5
battre
https://codereview.chromium.org/331433002/diff/1/base/prefs/persistent_pref_store.h File base/prefs/persistent_pref_store.h (right): https://codereview.chromium.org/331433002/diff/1/base/prefs/persistent_pref_store.h#newcode53 base/prefs/persistent_pref_store.h:53: virtual void SetValueSilently(const std::string& key, base::Value* value) = 0; ...
6 years, 6 months ago (2014-06-13 09:16:00 UTC) #6
gab
Thanks for taking a look Dominic! https://codereview.chromium.org/331433002/diff/1/base/prefs/persistent_pref_store.h File base/prefs/persistent_pref_store.h (right): https://codereview.chromium.org/331433002/diff/1/base/prefs/persistent_pref_store.h#newcode53 base/prefs/persistent_pref_store.h:53: virtual void SetValueSilently(const ...
6 years, 6 months ago (2014-06-13 14:42:34 UTC) #7
Bernhard Bauer
LGTM, and I support Dominic's suggestion as well.
6 years, 6 months ago (2014-06-16 08:05:03 UTC) #8
Pam (message me for reviews)
On 2014/06/16 08:05:03, Bernhard Bauer wrote: > LGTM, and I support Dominic's suggestion as well. ...
6 years, 6 months ago (2014-06-16 22:42:29 UTC) #9
gab
Looks like this was (unintentionally?) slipped into a rebase (patch set 13) in https://codereview.chromium.org/324493002 -- ...
6 years, 6 months ago (2014-06-19 19:16:44 UTC) #10
erikwright (departed)
On 2014/06/19 19:16:44, gab wrote: > Looks like this was (unintentionally?) slipped into a rebase ...
6 years, 6 months ago (2014-06-23 15:38:30 UTC) #11
gab
On 2014/06/23 15:38:30, erikwright wrote: > On 2014/06/19 19:16:44, gab wrote: > > Looks like ...
6 years, 6 months ago (2014-06-23 15:40:53 UTC) #12
gab
6 years, 5 months ago (2014-07-11 12:31:56 UTC) #13
Message was sent while issue was closed.
On 2014/06/23 15:40:53, gab wrote:
> On 2014/06/23 15:38:30, erikwright wrote:
> > On 2014/06/19 19:16:44, gab wrote:
> > > Looks like this was (unintentionally?) slipped into a rebase (patch set
13)
> in
> > > https://codereview.chromium.org/324493002 -- I missed that in that review
as
> I
> > > skipped "rebase" patch sets assuming they were irrelevant...
> > > 
> > > That's too bad, I would have prefered a separate CL, but I guess it's okay
> > since
> > > everybody agreed here... :(
> > > 
> > > Gab
> > 
> > It would appear that I did accidentally commit this change.
> > 
> > In the end it wasn't actually required, although I believe it is a correct
> > change. I will go ahead and follow-up with Dominic's suggestion today.
> 
> Thanks, closing this issue.

ping? I didn't see the promised CL above get implemented?

Powered by Google App Engine
This is Rietveld 408576698