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

Issue 11361051: Remove dependency on language detection library. (Closed)

Created:
8 years, 1 month ago by nilesh
Modified:
8 years, 1 month ago
Reviewers:
Jay Civelli, Nico
CC:
chromium-reviews, darin-cc_chromium.org, Miguel Garcia
Visibility:
Public.

Description

Android: Remove dependency on language detection library. Savings: 1.2MB in stripped so (in the .rodata section) 750K in APK size BUG=155069 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166024

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Addressed comments. #

Total comments: 2

Patch Set 4 : Using enable_language_detection feature flag #

Total comments: 2

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -6 lines) Patch
M build/common.gypi View 1 2 3 4 5 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 3 chunks +6 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 2 chunks +10 lines, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/renderer/translate_helper.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/translate_helper.cc View 1 2 3 5 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
nilesh
8 years, 1 month ago (2012-11-02 00:37:50 UTC) #1
nilesh
8 years, 1 month ago (2012-11-02 00:38:05 UTC) #2
Jay Civelli
http://codereview.chromium.org/11361051/diff/2001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): http://codereview.chromium.org/11361051/diff/2001/chrome/browser/chrome_browser_main.cc#newcode1352 chrome/browser/chrome_browser_main.cc:1352: #if !defined(OS_ANDROID) Maybe add a comment explaining we don't ...
8 years, 1 month ago (2012-11-02 01:01:25 UTC) #3
nilesh
http://codereview.chromium.org/11361051/diff/2001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): http://codereview.chromium.org/11361051/diff/2001/chrome/browser/chrome_browser_main.cc#newcode1352 chrome/browser/chrome_browser_main.cc:1352: #if !defined(OS_ANDROID) On 2012/11/02 01:01:25, Jay Civelli wrote: > ...
8 years, 1 month ago (2012-11-02 01:40:41 UTC) #4
Nico
(+stuart, in case ios wants to do this too) http://codereview.chromium.org/11361051/diff/9001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): http://codereview.chromium.org/11361051/diff/9001/chrome/browser/chrome_browser_main.cc#newcode124 chrome/browser/chrome_browser_main.cc:124: ...
8 years, 1 month ago (2012-11-02 15:23:26 UTC) #5
stuartmorgan
On 2012/11/02 15:23:26, Nico wrote: > (+stuart, in case ios wants to do this too) ...
8 years, 1 month ago (2012-11-02 15:40:32 UTC) #6
nilesh
Thanks for the comments. Please take another look. http://codereview.chromium.org/11361051/diff/9001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): http://codereview.chromium.org/11361051/diff/9001/chrome/browser/chrome_browser_main.cc#newcode124 chrome/browser/chrome_browser_main.cc:124: #if ...
8 years, 1 month ago (2012-11-02 17:37:31 UTC) #7
Nico
I'll stamp once Jay is happy. http://codereview.chromium.org/11361051/diff/6002/chrome/renderer/translate_helper.cc File chrome/renderer/translate_helper.cc (right): http://codereview.chromium.org/11361051/diff/6002/chrome/renderer/translate_helper.cc#newcode113 chrome/renderer/translate_helper.cc:113: bool TranslateHelper::IsPageTranslatable(WebDocument* document) ...
8 years, 1 month ago (2012-11-02 17:43:53 UTC) #8
Jay Civelli
lgtm http://codereview.chromium.org/11361051/diff/6002/chrome/renderer/translate_helper.cc File chrome/renderer/translate_helper.cc (right): http://codereview.chromium.org/11361051/diff/6002/chrome/renderer/translate_helper.cc#newcode113 chrome/renderer/translate_helper.cc:113: bool TranslateHelper::IsPageTranslatable(WebDocument* document) { On 2012/11/02 17:43:54, Nico ...
8 years, 1 month ago (2012-11-02 17:52:36 UTC) #9
Nico
On 2012/11/02 17:52:36, Jay Civelli wrote: > lgtm lgtm > > http://codereview.chromium.org/11361051/diff/6002/chrome/renderer/translate_helper.cc > File chrome/renderer/translate_helper.cc ...
8 years, 1 month ago (2012-11-02 17:53:39 UTC) #10
Nico
On Fri, Nov 2, 2012 at 10:53 AM, <thakis@chromium.org> wrote: > On 2012/11/02 17:52:36, Jay ...
8 years, 1 month ago (2012-11-02 17:54:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nileshagrawal@chromium.org/11361051/6002
8 years, 1 month ago (2012-11-02 18:27:19 UTC) #12
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
8 years, 1 month ago (2012-11-02 18:33:35 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nileshagrawal@chromium.org/11361051/6002
8 years, 1 month ago (2012-11-02 21:12:38 UTC) #14
commit-bot: I haz the power
Retried try job too often for step(s) content_browsertests
8 years, 1 month ago (2012-11-03 00:26:49 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nileshagrawal@chromium.org/11361051/6002
8 years, 1 month ago (2012-11-05 16:12:01 UTC) #16
commit-bot: I haz the power
Failed to apply patch for chrome/chrome_browser.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 1 month ago (2012-11-05 16:12:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nileshagrawal@chromium.org/11361051/10014
8 years, 1 month ago (2012-11-05 17:47:31 UTC) #18
commit-bot: I haz the power
8 years, 1 month ago (2012-11-05 20:40:32 UTC) #19
Change committed as 166024

Powered by Google App Engine
This is Rietveld 408576698