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

Issue 343823002: Move GenerateSearchURL() and GenerateKeyword() from TemplateURLService to TemplateURL (Closed)

Created:
6 years, 6 months ago by hashimoto
Modified:
6 years, 6 months ago
Reviewers:
Peter Kasting, sky
CC:
chromium-reviews, tfarina, James Su, browser-components-watch_chromium.org
Base URL:
http://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Move GenerateSearchURL() and GenerateKeyword() from TemplateURLService to TemplateURL TemplateURL should not depend on TemplateURLService. BUG=386365 TEST=unit_tests R=pkasting@chromium.org TBR=profile_resetter, renderer_context_menu}, sky@chromium.org for chrome/browser/{importer Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278751

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Move GenerateKeyword() #

Total comments: 2

Patch Set 3 : GenerateKeyword() before GenerateFaviconURL() #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -119 lines) Patch
M chrome/browser/autocomplete/base_search_provider.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/importer/in_process_importer_bridge.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/profile_resetter/resettable_settings_snapshot.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/search_engines/search_host_to_urls_map.cc View 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/search_engines/search_provider_install_data.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/search_engines/template_url.h View 1 2 3 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url.cc View 1 2 3 4 5 chunks +34 lines, -3 lines 0 comments Download
M chrome/browser/search_engines/template_url_parser.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.h View 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.cc View 5 chunks +4 lines, -40 lines 0 comments Download
M chrome/browser/search_engines/template_url_service_unittest.cc View 2 chunks +1 line, -41 lines 0 comments Download
M chrome/browser/search_engines/template_url_unittest.cc View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/browser/ui/search_engines/search_engine_tab_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/webdata/keyword_table.cc View 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
hashimoto
6 years, 6 months ago (2014-06-18 22:28:15 UTC) #1
Peter Kasting
Is this because you don't ultimately intend to componentize TemplateURLService? I'm not sure I understand ...
6 years, 6 months ago (2014-06-19 00:17:50 UTC) #2
hashimoto
On 2014/06/19 00:17:50, Peter Kasting wrote: > Is this because you don't ultimately intend to ...
6 years, 6 months ago (2014-06-19 01:06:00 UTC) #3
hashimoto
https://codereview.chromium.org/343823002/diff/20001/chrome/browser/search_engines/template_url.h File chrome/browser/search_engines/template_url.h (right): https://codereview.chromium.org/343823002/diff/20001/chrome/browser/search_engines/template_url.h#newcode655 chrome/browser/search_engines/template_url.h:655: static base::string16 GenerateKeyword(const GURL& url); On 2014/06/19 00:17:49, Peter ...
6 years, 6 months ago (2014-06-19 01:11:45 UTC) #4
Peter Kasting
On 2014/06/19 01:06:00, hashimoto wrote: > Besides the componentization easiness, IMO we should avoid circular ...
6 years, 6 months ago (2014-06-19 17:41:59 UTC) #5
hashimoto
https://codereview.chromium.org/343823002/diff/40001/chrome/browser/search_engines/template_url.h File chrome/browser/search_engines/template_url.h (right): https://codereview.chromium.org/343823002/diff/40001/chrome/browser/search_engines/template_url.h#newcode488 chrome/browser/search_engines/template_url.h:488: static base::string16 GenerateKeyword(const GURL& url); On 2014/06/19 17:41:59, Peter ...
6 years, 6 months ago (2014-06-19 17:56:05 UTC) #6
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 6 months ago (2014-06-19 17:56:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/343823002/80001
6 years, 6 months ago (2014-06-19 18:00:25 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-19 21:40:48 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/85552) chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/74933) linux_chromium_chromeos_rel ...
6 years, 6 months ago (2014-06-19 21:40:49 UTC) #10
hashimoto
TBRing sky@chromium.org for changes in chrome/browser/{importer,profile_resetter,renderer_context_menu}
6 years, 6 months ago (2014-06-19 21:46:32 UTC) #11
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 6 months ago (2014-06-19 21:46:36 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/343823002/80001
6 years, 6 months ago (2014-06-19 21:47:30 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-19 23:32:22 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-19 23:43:13 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/85641) chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/74979) linux_chromium_chromeos_rel ...
6 years, 6 months ago (2014-06-19 23:43:14 UTC) #16
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 6 months ago (2014-06-19 23:56:12 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/343823002/100001
6 years, 6 months ago (2014-06-19 23:57:47 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 08:22:10 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 11:24:37 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/builds/23258)
6 years, 6 months ago (2014-06-20 11:24:39 UTC) #21
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 6 months ago (2014-06-20 15:07:21 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/343823002/100001
6 years, 6 months ago (2014-06-20 15:09:31 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 15:17:48 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 15:23:14 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/builds/23358)
6 years, 6 months ago (2014-06-20 15:23:15 UTC) #26
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 6 months ago (2014-06-20 15:38:39 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/343823002/120001
6 years, 6 months ago (2014-06-20 15:39:12 UTC) #28
hashimoto
The CQ bit was unchecked by hashimoto@chromium.org
6 years, 6 months ago (2014-06-20 16:56:25 UTC) #29
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 6 months ago (2014-06-20 16:56:43 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/343823002/120001
6 years, 6 months ago (2014-06-20 17:00:51 UTC) #31
hashimoto
6 years, 6 months ago (2014-06-20 17:36:29 UTC) #32
Message was sent while issue was closed.
Committed patchset #5 manually as r278751 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698