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

Issue 410673002: [Suggestions] Moving suggestions code to a new component (Closed)

Created:
6 years, 5 months ago by Mathieu
Modified:
6 years, 5 months ago
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, dominich, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Project:
chromium
Visibility:
Public.

Description

[Suggestions] Moving suggestions code to a new component Adding base::StatisticsRecorder::Initialize() to run_all_unittests to mirror another change we had made to the content test suite in https://codereview.chromium.org/330473003/ BUG=387751 TEST=Suggestions*,Blacklist* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285598

Patch Set 1 #

Patch Set 2 : Fixes #

Patch Set 3 : clean #

Total comments: 3

Patch Set 4 : BUILD.gn fix #

Patch Set 5 : removed dependence on content #

Patch Set 6 : fixes #

Total comments: 1

Patch Set 7 : message loop #

Patch Set 8 : gn fix #

Total comments: 2

Patch Set 9 : fix deps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -1907 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/DEPS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/most_visited_sites.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/most_visited_sites.cc View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/search/suggestions/blacklist_store.h View 1 chunk +0 lines, -71 lines 0 comments Download
D chrome/browser/search/suggestions/blacklist_store.cc View 1 chunk +0 lines, -175 lines 0 comments Download
D chrome/browser/search/suggestions/blacklist_store_unittest.cc View 1 chunk +0 lines, -152 lines 0 comments Download
D chrome/browser/search/suggestions/image_manager.h View 1 chunk +0 lines, -38 lines 0 comments Download
D chrome/browser/search/suggestions/proto/BUILD.gn View 1 chunk +0 lines, -9 lines 0 comments Download
D chrome/browser/search/suggestions/proto/suggestions.proto View 1 chunk +0 lines, -64 lines 0 comments Download
D chrome/browser/search/suggestions/suggestions_service.h View 1 chunk +0 lines, -185 lines 0 comments Download
D chrome/browser/search/suggestions/suggestions_service.cc View 1 chunk +0 lines, -391 lines 0 comments Download
M chrome/browser/search/suggestions/suggestions_service_factory.cc View 1 2 3 4 5 6 2 chunks +9 lines, -8 lines 0 comments Download
D chrome/browser/search/suggestions/suggestions_service_unittest.cc View 1 chunk +0 lines, -497 lines 0 comments Download
M chrome/browser/search/suggestions/suggestions_source.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search/suggestions/suggestions_source.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/search/suggestions/suggestions_store.h View 1 chunk +0 lines, -55 lines 0 comments Download
D chrome/browser/search/suggestions/suggestions_store.cc View 1 chunk +0 lines, -69 lines 0 comments Download
D chrome/browser/search/suggestions/suggestions_store_unittest.cc View 1 chunk +0 lines, -65 lines 0 comments Download
M chrome/browser/search/suggestions/thumbnail_manager.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/search/suggestions/thumbnail_manager_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search/suggestions/thumbnail_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 4 chunks +1 line, -20 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -8 lines 0 comments Download
M components/components.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -1 line 0 comments Download
A components/suggestions.gypi View 1 1 chunk +42 lines, -0 lines 0 comments Download
A components/suggestions/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +28 lines, -0 lines 0 comments Download
A components/suggestions/DEPS View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
A + components/suggestions/OWNERS View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/suggestions/blacklist_store.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + components/suggestions/blacklist_store.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A + components/suggestions/blacklist_store_unittest.cc View 1 2 3 4 6 chunks +33 lines, -25 lines 0 comments Download
A + components/suggestions/image_manager.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + components/suggestions/proto/BUILD.gn View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/suggestions/proto/suggestions.proto View 0 chunks +-1 lines, --1 lines 0 comments Download
A components/suggestions/suggestions_pref_names.h View 1 chunk +19 lines, -0 lines 0 comments Download
A components/suggestions/suggestions_pref_names.cc View 1 chunk +19 lines, -0 lines 0 comments Download
A + components/suggestions/suggestions_service.h View 1 2 3 4 5 6 5 chunks +13 lines, -9 lines 0 comments Download
A + components/suggestions/suggestions_service.cc View 1 2 3 4 5 6 10 chunks +16 lines, -19 lines 0 comments Download
A + components/suggestions/suggestions_service_unittest.cc View 1 2 3 4 5 6 9 chunks +18 lines, -15 lines 0 comments Download
A + components/suggestions/suggestions_store.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + components/suggestions/suggestions_store.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + components/suggestions/suggestions_store_unittest.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M components/test/run_all_unittests.cc View 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Mathieu
Hello, This is ready for review. Thanks!
6 years, 5 months ago (2014-07-22 14:34:52 UTC) #1
blundell
https://codereview.chromium.org/410673002/diff/40001/components/suggestions/DEPS File components/suggestions/DEPS (right): https://codereview.chromium.org/410673002/diff/40001/components/suggestions/DEPS#newcode2 components/suggestions/DEPS:2: "+content/public", If this component is intended to be shared ...
6 years, 5 months ago (2014-07-22 15:55:19 UTC) #2
Mathieu
Thanks! https://codereview.chromium.org/410673002/diff/40001/components/suggestions/DEPS File components/suggestions/DEPS (right): https://codereview.chromium.org/410673002/diff/40001/components/suggestions/DEPS#newcode2 components/suggestions/DEPS:2: "+content/public", On 2014/07/22 15:55:19, blundell wrote: > If ...
6 years, 5 months ago (2014-07-22 16:56:31 UTC) #3
Mathieu
See comment https://codereview.chromium.org/410673002/diff/40001/components/suggestions/DEPS File components/suggestions/DEPS (right): https://codereview.chromium.org/410673002/diff/40001/components/suggestions/DEPS#newcode2 components/suggestions/DEPS:2: "+content/public", On 2014/07/22 16:56:31, Mathieu Perreault wrote: ...
6 years, 5 months ago (2014-07-22 17:12:42 UTC) #4
blundell
On 2014/07/22 17:12:42, Mathieu Perreault wrote: > See comment > > https://codereview.chromium.org/410673002/diff/40001/components/suggestions/DEPS > File components/suggestions/DEPS ...
6 years, 5 months ago (2014-07-23 12:39:11 UTC) #5
Mathieu
On 2014/07/23 12:39:11, blundell wrote: > On 2014/07/22 17:12:42, Mathieu Perreault wrote: > > See ...
6 years, 5 months ago (2014-07-23 14:53:06 UTC) #6
blundell
https://codereview.chromium.org/410673002/diff/100001/components/suggestions/suggestions_service.cc File components/suggestions/suggestions_service.cc (right): https://codereview.chromium.org/410673002/diff/100001/components/suggestions/suggestions_service.cc#newcode123 components/suggestions/suggestions_service.cc:123: scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) It looks like this object is created ...
6 years, 5 months ago (2014-07-24 08:31:45 UTC) #7
Mathieu
On 2014/07/24 08:31:45, blundell wrote: > https://codereview.chromium.org/410673002/diff/100001/components/suggestions/suggestions_service.cc > File components/suggestions/suggestions_service.cc (right): > > https://codereview.chromium.org/410673002/diff/100001/components/suggestions/suggestions_service.cc#newcode123 > ...
6 years, 5 months ago (2014-07-24 11:51:37 UTC) #8
Mathieu
Hello jam, Can you review for OWNERS of chrome/ (mostly renaming). Thanks!
6 years, 5 months ago (2014-07-24 14:00:28 UTC) #9
jam
On 2014/07/24 14:00:28, Mathieu Perreault wrote: > Hello jam, > > Can you review for ...
6 years, 5 months ago (2014-07-25 00:13:25 UTC) #10
Mathieu
-jam, +darin No problem. Darin, this is simply a move with modified tests. chrome/ owner ...
6 years, 5 months ago (2014-07-25 00:26:46 UTC) #11
darin (slow to review)
LGTM
6 years, 5 months ago (2014-07-25 03:19:10 UTC) #12
blundell
LGTM, thanks https://codereview.chromium.org/410673002/diff/140001/components/suggestions/DEPS File components/suggestions/DEPS (right): https://codereview.chromium.org/410673002/diff/140001/components/suggestions/DEPS#newcode2 components/suggestions/DEPS:2: "+components/keyed_service", Please restrict this to components/keyed_service/core.
6 years, 5 months ago (2014-07-25 07:23:42 UTC) #13
Mathieu
Thanks, submitting. https://codereview.chromium.org/410673002/diff/140001/components/suggestions/DEPS File components/suggestions/DEPS (right): https://codereview.chromium.org/410673002/diff/140001/components/suggestions/DEPS#newcode2 components/suggestions/DEPS:2: "+components/keyed_service", On 2014/07/25 07:23:42, blundell (OOO until ...
6 years, 5 months ago (2014-07-25 14:07:51 UTC) #14
Mathieu
The CQ bit was checked by mathp@chromium.org
6 years, 5 months ago (2014-07-25 14:07:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mathp@chromium.org/410673002/160001
6 years, 5 months ago (2014-07-25 14:08:55 UTC) #16
commit-bot: I haz the power
6 years, 5 months ago (2014-07-25 16:47:53 UTC) #17
Message was sent while issue was closed.
Change committed as 285598

Powered by Google App Engine
This is Rietveld 408576698