[Enhanced Bookmark]Upstream image fetching code in android
commit566c432e789653356da210e066b1f0ed62f1aa3d
authorianwen <ianwen@chromium.org>
Thu, 5 Feb 2015 20:56:12 +0000 (5 12:56 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 5 Feb 2015 20:57:16 +0000 (5 20:57 +0000)
treed9548e2392bd7a8de4c26e4474895e99af9854dd
parentf8b95b1bac2582a87f9f67fb3a35413202ecb07f
[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

Review URL: https://codereview.chromium.org/899653003

Cr-Commit-Position: refs/heads/master@{#314872}
15 files changed:
chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java
chrome/browser/android/chrome_jni_registrar.cc
chrome/browser/android/enhanced_bookmarks/OWNERS [deleted file]
chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.cc [new file with mode: 0644]
chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.h [new file with mode: 0644]
chrome/browser/enhanced_bookmarks/android/bookmark_image_service_factory.cc [new file with mode: 0644]
chrome/browser/enhanced_bookmarks/android/bookmark_image_service_factory.h [new file with mode: 0644]
chrome/browser/enhanced_bookmarks/android/enhanced_bookmark_tab_helper.cc [new file with mode: 0644]
chrome/browser/enhanced_bookmarks/android/enhanced_bookmark_tab_helper.h [new file with mode: 0644]
chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc [moved from chrome/browser/android/enhanced_bookmarks/enhanced_bookmarks_bridge.cc with 84% similarity]
chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.h [moved from chrome/browser/android/enhanced_bookmarks/enhanced_bookmarks_bridge.h with 85% similarity]
chrome/browser/ui/tab_helpers.cc
chrome/chrome_browser.gypi
components/enhanced_bookmarks/bookmark_image_service.cc
components/enhanced_bookmarks/bookmark_image_service.h