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

Issue 899653003: [Enhanced Bookmark]Upstream image fetching code in android (Closed)

Created:
5 years, 10 months ago by Ian Wen
Modified:
5 years, 10 months ago
CC:
chromium-reviews, noyau+watch_chromium.org, Theresa
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Enhanced Bookmark]Upstream image fetching code in android This CL added the image fetching code that previously lived in clank private repository. Also I moved android enhanced_bookmark_bridge from chrome/browser/android/enhanced_bookmarks/ to chrome/browser/enhanced_bookmarks/android, since the latter is a more unified place to put all files in.(I deleted the android/enhanced_bookmarks folder). Last but not least, I made some small changes to the internal implementation of bookmark_image_service, making it more readable. The previously private code can be found in code search: https://cs.corp.google.com/#clankium/src/clank/native/framework/chrome/enhanced_bookmarks/ Downstream CL: https://chrome-internal-review.googlesource.com/#/c/195438/ BUG=454623 Committed: https://crrev.com/566c432e789653356da210e066b1f0ed62f1aa3d Cr-Commit-Position: refs/heads/master@{#314872}

Patch Set 1 #

Total comments: 14

Patch Set 2 : reverted change in bookmark_image_service #

Patch Set 3 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+600 lines, -383 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java View 7 chunks +77 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 chunks +1 line, -1 line 0 comments Download
D chrome/browser/android/enhanced_bookmarks/OWNERS View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/android/enhanced_bookmarks/enhanced_bookmarks_bridge.h View 1 2 1 chunk +0 lines, -94 lines 0 comments Download
D chrome/browser/android/enhanced_bookmarks/enhanced_bookmarks_bridge.cc View 1 2 1 chunk +0 lines, -271 lines 0 comments Download
A chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.h View 1 chunk +85 lines, -0 lines 0 comments Download
A chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.cc View 1 2 1 chunk +217 lines, -0 lines 0 comments Download
A chrome/browser/enhanced_bookmarks/android/bookmark_image_service_factory.h View 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/enhanced_bookmarks/android/bookmark_image_service_factory.cc View 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/enhanced_bookmarks/android/enhanced_bookmark_tab_helper.h View 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/browser/enhanced_bookmarks/android/enhanced_bookmark_tab_helper.cc View 1 chunk +40 lines, -0 lines 0 comments Download
A + chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.h View 1 2 5 chunks +12 lines, -5 lines 0 comments Download
A + chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc View 1 2 5 chunks +47 lines, -2 lines 0 comments Download
M chrome/browser/ui/tab_helpers.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
M components/enhanced_bookmarks/bookmark_image_service.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M components/enhanced_bookmarks/bookmark_image_service.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
Ian Wen
Dear reviewers, I have this large CL for you to review. This is an important ...
5 years, 10 months ago (2015-02-03 18:21:37 UTC) #2
sky
tab_helpers.cc LGTM
5 years, 10 months ago (2015-02-03 21:29:31 UTC) #3
noyau (Ping after 24h)
https://codereview.chromium.org/899653003/diff/1/components/enhanced_bookmarks/bookmark_image_service.cc File components/enhanced_bookmarks/bookmark_image_service.cc (right): https://codereview.chromium.org/899653003/diff/1/components/enhanced_bookmarks/bookmark_image_service.cc#newcode185 components/enhanced_bookmarks/bookmark_image_service.cc:185: return; The refactoring leads to the duplication of this ...
5 years, 10 months ago (2015-02-04 12:45:27 UTC) #5
lpromero
Mostly rubberstamp lgtm. Please consider noyau's comments. https://codereview.chromium.org/899653003/diff/1/components/enhanced_bookmarks/bookmark_image_service.cc File components/enhanced_bookmarks/bookmark_image_service.cc (right): https://codereview.chromium.org/899653003/diff/1/components/enhanced_bookmarks/bookmark_image_service.cc#newcode181 components/enhanced_bookmarks/bookmark_image_service.cc:181: // If ...
5 years, 10 months ago (2015-02-04 13:54:51 UTC) #6
Kibeom Kim (inactive)
lgtm - chrome/browser/enhanced_bookmark/* - *.java with the other comments addressed. Thanks! https://codereview.chromium.org/899653003/diff/1/chrome/browser/ui/tab_helpers.cc File chrome/browser/ui/tab_helpers.cc (right): ...
5 years, 10 months ago (2015-02-05 01:19:24 UTC) #7
noyau (Ping after 24h)
https://codereview.chromium.org/899653003/diff/1/components/enhanced_bookmarks/bookmark_image_service.cc File components/enhanced_bookmarks/bookmark_image_service.cc (right): https://codereview.chromium.org/899653003/diff/1/components/enhanced_bookmarks/bookmark_image_service.cc#newcode193 components/enhanced_bookmarks/bookmark_image_service.cc:193: bool update_bookmarks, On 2015/02/05 01:19:24, Kibeom Kim wrote: > ...
5 years, 10 months ago (2015-02-05 08:49:59 UTC) #8
Ian Wen
Thanks guys for quick lgtm. :) https://codereview.chromium.org/899653003/diff/1/chrome/browser/ui/tab_helpers.cc File chrome/browser/ui/tab_helpers.cc (right): https://codereview.chromium.org/899653003/diff/1/chrome/browser/ui/tab_helpers.cc#newcode167 chrome/browser/ui/tab_helpers.cc:167: EnhancedBookmarkTabHelper::CreateForWebContents(web_contents); On 2015/02/05 ...
5 years, 10 months ago (2015-02-05 18:33:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/899653003/20001
5 years, 10 months ago (2015-02-05 18:34:31 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/39637) android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/56312)
5 years, 10 months ago (2015-02-05 18:45:37 UTC) #14
Kibeom Kim (inactive)
https://codereview.chromium.org/899653003/diff/1/components/enhanced_bookmarks/bookmark_image_service.cc File components/enhanced_bookmarks/bookmark_image_service.cc (right): https://codereview.chromium.org/899653003/diff/1/components/enhanced_bookmarks/bookmark_image_service.cc#newcode193 components/enhanced_bookmarks/bookmark_image_service.cc:193: bool update_bookmarks, On 2015/02/05 08:49:59, noyau wrote: > > ...
5 years, 10 months ago (2015-02-05 18:51:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/899653003/40001
5 years, 10 months ago (2015-02-05 19:01:36 UTC) #17
Kibeom Kim (inactive)
+twellington fyi
5 years, 10 months ago (2015-02-05 19:09:01 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-05 20:56:40 UTC) #19
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 20:57:51 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/566c432e789653356da210e066b1f0ed62f1aa3d
Cr-Commit-Position: refs/heads/master@{#314872}

Powered by Google App Engine
This is Rietveld 408576698