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

Issue 225263017: Move TranslateManager::IsTranslatableURL to be a client-level concept. (Closed)

Created:
6 years, 8 months ago by blundell
Modified:
6 years, 8 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Move TranslateManager::IsTranslatableURL to be a client-level concept. The concept of whether a given URL is translatable is an embedder-level one. This CL does the following: - Moves TranslateManager::IsTranslatableURL to TranslateService and updates //chrome callers to call the latter. - Adds TranslateClient::IsTranslatableURL and has TranslateManager call that. - Moves TranslateManager unittest (only testing IsTranslatableURL) to be a unittest on TranslateService. BUG=360017 TBR=jochen Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262427

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -92 lines) Patch
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/translate/translate_manager.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/translate/translate_manager.cc View 1 3 chunks +1 line, -25 lines 0 comments Download
M chrome/browser/translate/translate_manager_render_view_host_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
D chrome/browser/translate/translate_manager_unittest.cc View 1 chunk +0 lines, -45 lines 0 comments Download
M chrome/browser/translate/translate_service.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/translate/translate_service.cc View 2 chunks +25 lines, -0 lines 0 comments Download
A + chrome/browser/translate/translate_service_unittest.cc View 2 chunks +11 lines, -14 lines 0 comments Download
M chrome/browser/translate/translate_tab_helper.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/translate/translate_tab_helper.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 1 chunk +1 line, -1 line 0 comments Download
M components/translate/core/browser/translate_client.h View 1 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
blundell
Dependent on https://codereview.chromium.org/227363005/ (mostly just to avoid rebase conflicts later).
6 years, 8 months ago (2014-04-07 10:56:47 UTC) #1
droger
lgtm
6 years, 8 months ago (2014-04-07 11:29:52 UTC) #2
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 8 months ago (2014-04-08 14:12:04 UTC) #3
blundell
The CQ bit was unchecked by blundell@chromium.org
6 years, 8 months ago (2014-04-08 14:12:08 UTC) #4
blundell
TBR jochen for //chrome changes outside of //c/b/translate
6 years, 8 months ago (2014-04-08 14:12:39 UTC) #5
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 8 months ago (2014-04-08 14:12:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/225263017/20001
6 years, 8 months ago (2014-04-08 14:13:11 UTC) #7
commit-bot: I haz the power
6 years, 8 months ago (2014-04-08 16:02:08 UTC) #8
Message was sent while issue was closed.
Change committed as 262427

Powered by Google App Engine
This is Rietveld 408576698