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

Issue 27030002: Added collecting of data to be fed to the JTL interpreter. (Closed)

Created:
7 years, 2 months ago by engedy
Modified:
7 years, 1 month ago
CC:
erikwright (departed)
Visibility:
Public.

Description

Added collecting of data to be fed to the JTL interpreter. BUG=298036 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231317

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressed comments by battre@. #

Total comments: 2

Patch Set 3 : Fixed capitalization of enum constants. #

Patch Set 4 : Added information about loaded modules. #

Patch Set 5 : Minor changes, plus added some additional unit-tests. #

Total comments: 54

Patch Set 6 : Service now runs in a deferred manner, fixed a unittest on Win. #

Patch Set 7 : Addressed comments by vasilii@. #

Total comments: 49

Patch Set 8 : Addressed all comments by pkasting@. #

Total comments: 22

Patch Set 9 : Addressed next round of comments. #

Patch Set 10 : Addressed comments from vasilii@. #

Total comments: 42

Patch Set 11 : Addressed next round of comments from pkasting@ and vasilii@. #

Total comments: 2

Patch Set 12 : Addressed one more comment by vasilii@. #

Total comments: 8

Patch Set 13 : Final touches. #

Total comments: 4

Patch Set 14 : Fixed nits. #

Total comments: 8

Patch Set 15 : Addressed comments by robertshield@. #

Patch Set 16 : Fixed one comment, removed an unnecessary include and namespace prefix usage. #

Patch Set 17 : Rebased to ToT. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1555 lines, -192 lines) Patch
M chrome/browser/enumerate_modules_model_win.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/profile_resetter/automatic_profile_resetter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +72 lines, -44 lines 0 comments Download
M chrome/browser/profile_resetter/automatic_profile_resetter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 7 chunks +249 lines, -108 lines 0 comments Download
A chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +143 lines, -0 lines 0 comments Download
A chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +200 lines, -0 lines 0 comments Download
A chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +382 lines, -0 lines 0 comments Download
M chrome/browser/profile_resetter/automatic_profile_resetter_factory.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/profile_resetter/automatic_profile_resetter_factory.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 21 chunks +488 lines, -29 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
engedy
Please take a look.
7 years, 2 months ago (2013-10-11 14:00:22 UTC) #1
battre
https://codereview.chromium.org/27030002/diff/1/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/27030002/diff/1/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode85 chrome/browser/profile_resetter/automatic_profile_resetter.cc:85: value_tree->Set(it.key(), it.value().DeepCopy()); Should this and the one in line ...
7 years, 2 months ago (2013-10-11 15:05:33 UTC) #2
engedy
Please take another look. https://codereview.chromium.org/27030002/diff/1/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/27030002/diff/1/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode85 chrome/browser/profile_resetter/automatic_profile_resetter.cc:85: value_tree->Set(it.key(), it.value().DeepCopy()); Avoided the double-copy ...
7 years, 2 months ago (2013-10-11 16:42:15 UTC) #3
battre
LGTM https://codereview.chromium.org/27030002/diff/8001/chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc File chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc (right): https://codereview.chromium.org/27030002/diff/8001/chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc#newcode306 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc:306: HasExpectedDefaultSearchProvider = 1 << 0, Nit: Enums are ...
7 years, 2 months ago (2013-10-11 16:48:24 UTC) #4
engedy
https://codereview.chromium.org/27030002/diff/8001/chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc File chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc (right): https://codereview.chromium.org/27030002/diff/8001/chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc#newcode306 chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc:306: HasExpectedDefaultSearchProvider = 1 << 0, On 2013/10/11 16:48:25, battre ...
7 years, 2 months ago (2013-10-11 16:55:14 UTC) #5
engedy
Hi Everyone. Could you please review... @Vasilii: chrome/browser/profile_resetter/* in patch set 4 and 5, also ...
7 years, 2 months ago (2013-10-14 12:44:38 UTC) #6
Finnur
https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc File chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc (right): https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc#newcode102 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc:102: EnumerateModulesModel::GetInstance()->ScanNow(); Is there ever a chance we'll get to ...
7 years, 2 months ago (2013-10-14 13:08:23 UTC) #7
engedy
https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc File chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc (right): https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc#newcode102 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc:102: EnumerateModulesModel::GetInstance()->ScanNow(); On 2013/10/14 13:08:23, Finnur wrote: > Is there ...
7 years, 2 months ago (2013-10-14 13:22:37 UTC) #8
Finnur
On 2013/10/14 13:22:37, engedy wrote: > https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc > File chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc > (right): > > https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc#newcode102 ...
7 years, 2 months ago (2013-10-14 13:32:33 UTC) #9
engedy
PTAL. https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc File chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc (right): https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc#newcode102 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc:102: EnumerateModulesModel::GetInstance()->ScanNow(); On 2013/10/14 13:22:38, engedy wrote: > On ...
7 years, 2 months ago (2013-10-14 16:07:21 UTC) #10
vasilii
https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode45 chrome/browser/profile_resetter/automatic_profile_resetter.cc:45: const char kSatisfiedCriteriaMaskKeys[][29] = {"satisfied_criteria_mask_bit1", Do we need these ...
7 years, 2 months ago (2013-10-14 16:43:32 UTC) #11
engedy
@Vasilii, Finnur: Please take another look. @Peter, Erik: Could you please take a look at ...
7 years, 2 months ago (2013-10-14 19:35:49 UTC) #12
Peter Kasting
https://codereview.chromium.org/27030002/diff/74001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc File chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc (right): https://codereview.chromium.org/27030002/diff/74001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc#newcode29 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc:29: base::DictionaryValue* BuildSubTreeFromTemplateURL( Is there similar code to this elsewhere ...
7 years, 2 months ago (2013-10-15 01:31:23 UTC) #13
Finnur
https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc File chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc (right): https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc#newcode102 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc:102: EnumerateModulesModel::GetInstance()->ScanNow(); Where's the code that delays starting this?
7 years, 2 months ago (2013-10-15 10:41:07 UTC) #14
engedy
Peter, Finnur: Please take another look. https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc File chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc (right): https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc#newcode102 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc:102: EnumerateModulesModel::GetInstance()->ScanNow(); On 2013/10/15 ...
7 years, 2 months ago (2013-10-15 22:13:06 UTC) #15
Peter Kasting
https://codereview.chromium.org/27030002/diff/74001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc File chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc (right): https://codereview.chromium.org/27030002/diff/74001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc#newcode29 chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc:29: base::DictionaryValue* BuildSubTreeFromTemplateURL( On 2013/10/15 22:13:07, engedy wrote: > On ...
7 years, 2 months ago (2013-10-16 00:40:21 UTC) #16
engedy
@Peter: please take another look. @Vasilii: please see one response addressed to you. https://codereview.chromium.org/27030002/diff/141001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc File ...
7 years, 2 months ago (2013-10-16 11:13:54 UTC) #17
vasilii
https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode45 chrome/browser/profile_resetter/automatic_profile_resetter.cc:45: const char kSatisfiedCriteriaMaskKeys[][29] = {"satisfied_criteria_mask_bit1", On 2013/10/14 19:35:50, engedy ...
7 years, 2 months ago (2013-10-16 13:39:48 UTC) #18
Finnur
OWNERS approval for enumerate_modules_model_win.cc. LGTM.
7 years, 2 months ago (2013-10-16 14:26:59 UTC) #19
erikwright (departed)
With regards to module information, we are moving away from using enumerate_modules_model. We have another ...
7 years, 2 months ago (2013-10-16 14:31:57 UTC) #20
engedy
@Vasilii: PTAL. https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode45 chrome/browser/profile_resetter/automatic_profile_resetter.cc:45: const char kSatisfiedCriteriaMaskKeys[][29] = {"satisfied_criteria_mask_bit1", On 2013/10/16 ...
7 years, 2 months ago (2013-10-16 15:12:16 UTC) #21
engedy
On 2013/10/16 14:31:57, erikwright wrote: > With regards to module information, we are moving away ...
7 years, 2 months ago (2013-10-16 15:13:17 UTC) #22
Peter Kasting
LGTM https://codereview.chromium.org/27030002/diff/185001/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/27030002/diff/185001/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode29 chrome/browser/profile_resetter/automatic_profile_resetter.cc:29: namespace { Nit: I'd just move all these ...
7 years, 2 months ago (2013-10-16 22:36:51 UTC) #23
vasilii
https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc File chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc (right): https://codereview.chromium.org/27030002/diff/55001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc#newcode342 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc:342: DISABLED_IsDefaultSearchProviderManagedSubtle) { On 2013/10/14 19:35:50, engedy wrote: > On ...
7 years, 2 months ago (2013-10-17 10:57:57 UTC) #24
engedy
Most of the changed lines are reorderings. @Vasilii: PTAL. Removed the disabled unit test, and ...
7 years, 2 months ago (2013-10-17 15:13:46 UTC) #25
vasilii
lgtm https://codereview.chromium.org/27030002/diff/234001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc File chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc (right): https://codereview.chromium.org/27030002/diff/234001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc#newcode100 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc:100: data.short_name = base::UTF8ToUTF16("name"); ASCIIToUTF16
7 years, 2 months ago (2013-10-17 15:28:45 UTC) #26
engedy
https://codereview.chromium.org/27030002/diff/234001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc File chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc (right): https://codereview.chromium.org/27030002/diff/234001/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc#newcode100 chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc:100: data.short_name = base::UTF8ToUTF16("name"); Ah, I meant to replace all ...
7 years, 2 months ago (2013-10-17 15:36:58 UTC) #27
Peter Kasting
(Still LGTM) https://codereview.chromium.org/27030002/diff/185001/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/27030002/diff/185001/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode69 chrome/browser/profile_resetter/automatic_profile_resetter.cc:69: EvaluationResults() On 2013/10/17 15:13:47, engedy wrote: > ...
7 years, 2 months ago (2013-10-17 19:06:13 UTC) #28
engedy
I rephrased the comments in question, and moved four declarations to the .cc file. https://codereview.chromium.org/27030002/diff/185001/chrome/browser/profile_resetter/automatic_profile_resetter.cc ...
7 years, 2 months ago (2013-10-18 11:08:11 UTC) #29
Peter Kasting
Seems fine. https://codereview.chromium.org/27030002/diff/264001/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/27030002/diff/264001/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode101 chrome/browser/profile_resetter/automatic_profile_resetter.cc:101: kSatisfiedCriteriaMaskNumberOfBits, satisfied_criteria_mask_bits_mismatch); Tiny nit: Consider linebreaking these ...
7 years, 2 months ago (2013-10-18 18:39:16 UTC) #30
engedy
https://codereview.chromium.org/27030002/diff/264001/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/27030002/diff/264001/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode101 chrome/browser/profile_resetter/automatic_profile_resetter.cc:101: kSatisfiedCriteriaMaskNumberOfBits, satisfied_criteria_mask_bits_mismatch); On 2013/10/18 18:39:16, Peter Kasting wrote: > ...
7 years, 2 months ago (2013-10-22 19:44:06 UTC) #31
robertshield
LGTM, very nicely structured patch. Couple of minor drive by nits and a suggestion for ...
7 years, 2 months ago (2013-10-24 00:36:32 UTC) #32
engedy
https://codereview.chromium.org/27030002/diff/694013/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/27030002/diff/694013/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode85 chrome/browser/profile_resetter/automatic_profile_resetter.cc:85: On 2013/10/24 00:36:33, robertshield wrote: > nit: extra blank ...
7 years, 2 months ago (2013-10-24 09:23:36 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/27030002/994003
7 years, 2 months ago (2013-10-24 12:56:38 UTC) #34
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=32315
7 years, 2 months ago (2013-10-24 13:12:45 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/27030002/1354001
7 years, 1 month ago (2013-10-28 10:26:33 UTC) #36
commit-bot: I haz the power
7 years, 1 month ago (2013-10-28 13:40:47 UTC) #37
Message was sent while issue was closed.
Change committed as 231317

Powered by Google App Engine
This is Rietveld 408576698