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

Issue 2304573002: Add ComputeMac and ComputeSplitMacs methods to pref_hash_store. (Closed)

Created:
4 years, 3 months ago by proberge
Modified:
4 years, 3 months ago
Reviewers:
gab
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a ComputeMac and ComputeSplitMacs method to pref_hash_store. This will be used to precompute macs for use in a callback without going through a transaction. BUG=624858 Committed: https://crrev.com/2f1a799b1b834987bef165a80b092867fb8a10cb Cr-Commit-Position: refs/heads/master@{#417081}

Patch Set 1 #

Patch Set 2 : Remove stray line break #

Total comments: 13

Patch Set 3 : Clean up imports #

Patch Set 4 : 64 => 64U for EXPECT_EQ with size() #

Patch Set 5 : fwd-decl two imports and 2 -> 2U in size() comparison #

Patch Set 6 : rm import in .cc moved to .h #

Patch Set 7 : rebase-update'd #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -23 lines) Patch
M components/user_prefs/tracked/pref_hash_filter_unittest.cc View 1 2 3 4 5 6 2 chunks +22 lines, -0 lines 0 comments Download
M components/user_prefs/tracked/pref_hash_store.h View 1 2 3 4 5 6 2 chunks +19 lines, -1 line 0 comments Download
M components/user_prefs/tracked/pref_hash_store_impl.h View 1 2 3 4 5 6 2 chunks +6 lines, -6 lines 0 comments Download
M components/user_prefs/tracked/pref_hash_store_impl.cc View 1 2 3 4 5 6 5 chunks +40 lines, -16 lines 0 comments Download
M components/user_prefs/tracked/pref_hash_store_impl_unittest.cc View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
proberge
4 years, 3 months ago (2016-09-01 14:47:44 UTC) #3
gab
lgtm % nits https://codereview.chromium.org/2304573002/diff/20001/components/user_prefs/tracked/pref_hash_store.h File components/user_prefs/tracked/pref_hash_store.h (right): https://codereview.chromium.org/2304573002/diff/20001/components/user_prefs/tracked/pref_hash_store.h#newcode10 components/user_prefs/tracked/pref_hash_store.h:10: #include "base/values.h" fwd-decl instead: namespace base ...
4 years, 3 months ago (2016-09-01 21:21:56 UTC) #4
proberge
https://codereview.chromium.org/2304573002/diff/20001/components/user_prefs/tracked/pref_hash_store.h File components/user_prefs/tracked/pref_hash_store.h (right): https://codereview.chromium.org/2304573002/diff/20001/components/user_prefs/tracked/pref_hash_store.h#newcode10 components/user_prefs/tracked/pref_hash_store.h:10: #include "base/values.h" On 2016/09/01 21:21:56, gab wrote: > fwd-decl ...
4 years, 3 months ago (2016-09-06 18:43:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2304573002/40001
4 years, 3 months ago (2016-09-06 18:44:51 UTC) #8
commit-bot: I haz the power
Exceeded global retry quota
4 years, 3 months ago (2016-09-06 18:55:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2304573002/60001
4 years, 3 months ago (2016-09-06 19:34:28 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/64312) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 3 months ago (2016-09-06 19:44:18 UTC) #15
gab
https://codereview.chromium.org/2304573002/diff/20001/components/user_prefs/tracked/pref_hash_store.h File components/user_prefs/tracked/pref_hash_store.h (right): https://codereview.chromium.org/2304573002/diff/20001/components/user_prefs/tracked/pref_hash_store.h#newcode10 components/user_prefs/tracked/pref_hash_store.h:10: #include "base/values.h" On 2016/09/06 18:43:38, proberge wrote: > On ...
4 years, 3 months ago (2016-09-06 20:08:04 UTC) #16
proberge
https://codereview.chromium.org/2304573002/diff/20001/components/user_prefs/tracked/pref_hash_store.h File components/user_prefs/tracked/pref_hash_store.h (right): https://codereview.chromium.org/2304573002/diff/20001/components/user_prefs/tracked/pref_hash_store.h#newcode40 components/user_prefs/tracked/pref_hash_store.h:40: virtual std::unique_ptr<base::DictionaryValue> ComputeSplitMacs( On 2016/09/06 20:08:04, gab wrote: > ...
4 years, 3 months ago (2016-09-07 18:00:56 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2304573002/100001
4 years, 3 months ago (2016-09-07 18:01:56 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/196189)
4 years, 3 months ago (2016-09-07 20:07:29 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2304573002/120001
4 years, 3 months ago (2016-09-07 21:19:44 UTC) #25
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-07 22:12:36 UTC) #27
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 22:14:44 UTC) #29
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/2f1a799b1b834987bef165a80b092867fb8a10cb
Cr-Commit-Position: refs/heads/master@{#417081}

Powered by Google App Engine
This is Rietveld 408576698