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

Issue 293623003: [Metrics] Move CachingPermutedEntropyProvider into the variations component. (Closed)

Created:
6 years, 7 months ago by Ilya Sherman
Modified:
6 years, 7 months ago
CC:
chromium-reviews, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org
Visibility:
Public.

Description

[Metrics] Move CachingPermutedEntropyProvider into the variations component. BUG=374298 TEST=compiles R=asvitkine@chromium.org, blundell@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271393

Patch Set 1 #

Total comments: 6

Patch Set 2 : Create a separate target for building variations proto files #

Total comments: 4

Patch Set 3 : Fix unittest and undo proto gyp changes #

Total comments: 2

Patch Set 4 : Add a newline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -277 lines) Patch
M chrome/browser/metrics/metrics_state_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/metrics_state_manager_unittest.cc View 1 2 6 chunks +9 lines, -8 lines 0 comments Download
M chrome/chrome_common.gypi View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/common/metrics/caching_permuted_entropy_provider.h View 1 chunk +0 lines, -65 lines 0 comments Download
D chrome/common/metrics/caching_permuted_entropy_provider.cc View 1 chunk +0 lines, -107 lines 0 comments Download
D chrome/common/metrics/caching_permuted_entropy_provider_unittest.cc View 1 chunk +0 lines, -52 lines 0 comments Download
D chrome/common/metrics/proto/permuted_entropy_cache.proto View 1 chunk +0 lines, -19 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M components/components_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M components/variations.gypi View 2 1 chunk +6 lines, -1 line 0 comments Download
A + components/variations/caching_permuted_entropy_provider.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + components/variations/caching_permuted_entropy_provider.cc View 5 chunks +8 lines, -7 lines 0 comments Download
A + components/variations/caching_permuted_entropy_provider_unittest.cc View 4 chunks +7 lines, -7 lines 0 comments Download
A components/variations/pref_names.h View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
A components/variations/pref_names.cc View 1 chunk +16 lines, -0 lines 0 comments Download
A + components/variations/proto/permuted_entropy_cache.proto View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Ilya Sherman
6 years, 7 months ago (2014-05-19 10:58:34 UTC) #1
blundell
https://codereview.chromium.org/293623003/diff/1/components/variations/caching_permuted_entropy_provider.h File components/variations/caching_permuted_entropy_provider.h (right): https://codereview.chromium.org/293623003/diff/1/components/variations/caching_permuted_entropy_provider.h#newcode12 components/variations/caching_permuted_entropy_provider.h:12: #include "components/variations/proto/permuted_entropy_cache.pb.h" I believe that the target generating the ...
6 years, 7 months ago (2014-05-19 11:04:32 UTC) #2
Ilya Sherman
https://codereview.chromium.org/293623003/diff/1/components/variations/caching_permuted_entropy_provider.h File components/variations/caching_permuted_entropy_provider.h (right): https://codereview.chromium.org/293623003/diff/1/components/variations/caching_permuted_entropy_provider.h#newcode12 components/variations/caching_permuted_entropy_provider.h:12: #include "components/variations/proto/permuted_entropy_cache.pb.h" On 2014/05/19 11:04:32, blundell wrote: > I ...
6 years, 7 months ago (2014-05-19 11:16:27 UTC) #3
blundell
LGTM
6 years, 7 months ago (2014-05-19 11:18:29 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/293623003/diff/20001/components/variations.gypi File components/variations.gypi (right): https://codereview.chromium.org/293623003/diff/20001/components/variations.gypi#newcode40 components/variations.gypi:40: 'target_name': 'variations_proto', I think it's OK to keep them ...
6 years, 7 months ago (2014-05-19 11:23:03 UTC) #5
blundell
https://codereview.chromium.org/293623003/diff/20001/components/variations.gypi File components/variations.gypi (right): https://codereview.chromium.org/293623003/diff/20001/components/variations.gypi#newcode40 components/variations.gypi:40: 'target_name': 'variations_proto', I don't think they can be in ...
6 years, 7 months ago (2014-05-19 11:25:25 UTC) #6
blundell
https://codereview.chromium.org/293623003/diff/20001/components/variations.gypi File components/variations.gypi (right): https://codereview.chromium.org/293623003/diff/20001/components/variations.gypi#newcode40 components/variations.gypi:40: 'target_name': 'variations_proto', On 2014/05/19 11:23:03, Alexei Svitkine wrote: > ...
6 years, 7 months ago (2014-05-19 11:26:55 UTC) #7
blundell
As discussed offline, my initial worry was incorrect and it's fine to have the protos ...
6 years, 7 months ago (2014-05-19 11:37:04 UTC) #8
Ilya Sherman
Also tweaked a unittest to compile with the moved prefs constant's location. https://codereview.chromium.org/293623003/diff/20001/components/variations.gypi File components/variations.gypi ...
6 years, 7 months ago (2014-05-19 11:41:21 UTC) #9
Alexei Svitkine (slow)
LGTM % nit https://codereview.chromium.org/293623003/diff/40001/components/variations/pref_names.h File components/variations/pref_names.h (right): https://codereview.chromium.org/293623003/diff/40001/components/variations/pref_names.h#newcode12 components/variations/pref_names.h:12: // Keep alphabetized, and document each ...
6 years, 7 months ago (2014-05-19 11:45:47 UTC) #10
Ilya Sherman
https://codereview.chromium.org/293623003/diff/40001/components/variations/pref_names.h File components/variations/pref_names.h (right): https://codereview.chromium.org/293623003/diff/40001/components/variations/pref_names.h#newcode12 components/variations/pref_names.h:12: // Keep alphabetized, and document each in the .cc ...
6 years, 7 months ago (2014-05-19 11:47:20 UTC) #11
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 7 months ago (2014-05-19 11:47:28 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/293623003/60001
6 years, 7 months ago (2014-05-19 11:47:33 UTC) #13
commit-bot: I haz the power
6 years, 7 months ago (2014-05-19 15:19:18 UTC) #14
Message was sent while issue was closed.
Change committed as 271393

Powered by Google App Engine
This is Rietveld 408576698