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

Issue 367863005: No chrome dependencies in TemplateURLService (Closed)

Created:
6 years, 5 months ago by hashimoto
Modified:
6 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, James Su, tfarina, extensions-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

No chrome dependencies in TemplateURLService No chrome include other than search_engines and webdata. Inject all required services via ctor. KeywordHistoryServiceInterface is added to insulate HistoryService. BUG=386367 TEST=git cl try TBR=jochen@chromium.org for tests in chrome/browser/{extensions,profile_resetter} Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281256

Patch Set 1 : #

Patch Set 2 : #

Total comments: 21

Patch Set 3 : #

Patch Set 4 : Add comments about the member ordering #

Patch Set 5 : rebase #

Patch Set 6 : Rename to TemplateURLServiceClient #

Unified diffs Side-by-side diffs Delta from patch set Stats (+352 lines, -164 lines) Patch
M chrome/browser/autocomplete/history_quick_provider_unittest.cc View 1 2 3 4 5 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/history_url_provider_unittest.cc View 1 2 3 4 5 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/settings_overrides/settings_overrides_api.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/profile_resetter/profile_resetter_unittest.cc View 1 2 3 4 5 2 chunks +10 lines, -2 lines 0 comments Download
A chrome/browser/search_engines/chrome_template_url_service_client.h View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/search_engines/chrome_template_url_service_client.cc View 1 2 3 4 5 1 chunk +82 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.h View 1 2 3 4 5 10 chunks +39 lines, -36 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.cc View 1 2 3 4 5 12 chunks +58 lines, -99 lines 0 comments Download
A chrome/browser/search_engines/template_url_service_client.h View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/template_url_service_factory.cc View 1 2 3 4 5 3 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/search_engines/template_url_service_sync_unittest.cc View 1 2 3 4 5 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url_service_test_util.cc View 1 2 3 4 5 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/search_engines/template_url_service_unittest.cc View 1 2 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/bookmarks/bookmark_unittest.cc View 1 2 3 4 5 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc View 1 2 3 4 5 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/test_with_browser_view.cc View 1 2 3 4 5 2 chunks +14 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
hashimoto
6 years, 5 months ago (2014-07-02 13:09:11 UTC) #1
Peter Kasting
LGTM https://codereview.chromium.org/367863005/diff/130001/chrome/browser/search_engines/keyword_history_service.h File chrome/browser/search_engines/keyword_history_service.h (right): https://codereview.chromium.org/367863005/diff/130001/chrome/browser/search_engines/keyword_history_service.h#newcode15 chrome/browser/search_engines/keyword_history_service.h:15: // KeywordHistoryService provides keyword related history functionalities. Nit: ...
6 years, 5 months ago (2014-07-02 20:45:57 UTC) #2
hashimoto
https://codereview.chromium.org/367863005/diff/130001/chrome/browser/search_engines/keyword_history_service.h File chrome/browser/search_engines/keyword_history_service.h (right): https://codereview.chromium.org/367863005/diff/130001/chrome/browser/search_engines/keyword_history_service.h#newcode15 chrome/browser/search_engines/keyword_history_service.h:15: // KeywordHistoryService provides keyword related history functionalities. On 2014/07/02 ...
6 years, 5 months ago (2014-07-03 00:05:07 UTC) #3
Peter Kasting
https://codereview.chromium.org/367863005/diff/130001/chrome/browser/search_engines/template_url_service.h File chrome/browser/search_engines/template_url_service.h (right): https://codereview.chromium.org/367863005/diff/130001/chrome/browser/search_engines/template_url_service.h#newcode690 chrome/browser/search_engines/template_url_service.h:690: scoped_ptr<SearchTermsData> search_terms_data_; On 2014/07/03 00:05:07, hashimoto wrote: > On ...
6 years, 5 months ago (2014-07-03 00:12:31 UTC) #4
hashimoto
https://codereview.chromium.org/367863005/diff/130001/chrome/browser/search_engines/template_url_service.h File chrome/browser/search_engines/template_url_service.h (right): https://codereview.chromium.org/367863005/diff/130001/chrome/browser/search_engines/template_url_service.h#newcode690 chrome/browser/search_engines/template_url_service.h:690: scoped_ptr<SearchTermsData> search_terms_data_; On 2014/07/03 00:12:31, Peter Kasting wrote: > ...
6 years, 5 months ago (2014-07-03 00:36:24 UTC) #5
Peter Kasting
On 2014/07/03 00:36:24, hashimoto wrote: > Also this ordering divides these members into 3 categories, ...
6 years, 5 months ago (2014-07-03 00:38:58 UTC) #6
hashimoto
On 2014/07/03 00:38:58, Peter Kasting wrote: > On 2014/07/03 00:36:24, hashimoto wrote: > > Also ...
6 years, 5 months ago (2014-07-03 01:03:14 UTC) #7
hashimoto
Colin, could you answer my quick question? https://codereview.chromium.org/367863005/diff/130001/chrome/browser/search_engines/template_url_service.h File chrome/browser/search_engines/template_url_service.h (right): https://codereview.chromium.org/367863005/diff/130001/chrome/browser/search_engines/template_url_service.h#newcode50 chrome/browser/search_engines/template_url_service.h:50: class KeywordHistoryServiceInterface ...
6 years, 5 months ago (2014-07-03 07:13:31 UTC) #8
blundell
On 2014/07/03 07:13:31, hashimoto wrote: > Colin, could you answer my quick question? > > ...
6 years, 5 months ago (2014-07-03 08:19:54 UTC) #9
hashimoto
On 2014/07/03 08:19:54, blundell wrote: > On 2014/07/03 07:13:31, hashimoto wrote: > > Colin, could ...
6 years, 5 months ago (2014-07-03 08:35:34 UTC) #10
blundell
On 2014/07/03 08:35:34, hashimoto wrote: > On 2014/07/03 08:19:54, blundell wrote: > > On 2014/07/03 ...
6 years, 5 months ago (2014-07-03 08:36:40 UTC) #11
hashimoto
On 2014/07/03 08:36:40, blundell wrote: > On 2014/07/03 08:35:34, hashimoto wrote: > > On 2014/07/03 ...
6 years, 5 months ago (2014-07-03 08:38:04 UTC) #12
blundell
On 2014/07/03 08:38:04, hashimoto wrote: > On 2014/07/03 08:36:40, blundell wrote: > > On 2014/07/03 ...
6 years, 5 months ago (2014-07-03 08:49:13 UTC) #13
hashimoto
On 2014/07/03 08:49:13, blundell wrote: > On 2014/07/03 08:38:04, hashimoto wrote: > > On 2014/07/03 ...
6 years, 5 months ago (2014-07-03 09:05:19 UTC) #14
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 5 months ago (2014-07-03 10:11:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/367863005/230001
6 years, 5 months ago (2014-07-03 10:11:49 UTC) #16
hashimoto
TBRing jochen@chromium.org for tests in chrome/browser/{extensions,profile_resetter}
6 years, 5 months ago (2014-07-03 11:11:24 UTC) #17
hashimoto
The CQ bit was unchecked by hashimoto@chromium.org
6 years, 5 months ago (2014-07-03 11:11:30 UTC) #18
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 5 months ago (2014-07-03 11:11:33 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/367863005/230001
6 years, 5 months ago (2014-07-03 11:12:09 UTC) #20
commit-bot: I haz the power
6 years, 5 months ago (2014-07-03 12:44:49 UTC) #21
Message was sent while issue was closed.
Change committed as 281256

Powered by Google App Engine
This is Rietveld 408576698