|
★ Record the image dominant color in the image database.
This CL adds a column in the bookmarks images database.
It contains the dominant color extracted from the image.
Since this computation can be lengthy, it is done in the background, when the
image is stored in the database.
For old databases, a migration path is provided and the dominant color is
computed and stored upon querying the image for the first time.
BUG= 448443
Committed: https://crrev.com/a110f52e83cebd2b6f0ed37c34abeac8bfcb1b72
Cr-Commit-Position: refs/heads/master@{#312916}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+420 lines, -183 lines) |
Patch |
|
M |
components/enhanced_bookmarks.gypi
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/BUILD.gn
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/DEPS
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/bookmark_image_service.h
|
View
|
|
5 chunks |
+28 lines, -19 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/bookmark_image_service.cc
|
View
|
|
11 chunks |
+61 lines, -46 lines |
0 comments
|
Download
|
|
A |
components/enhanced_bookmarks/image_record.h
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/image_store.h
|
View
|
|
2 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/image_store.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/image_store_ios_unittest.mm
|
View
|
|
3 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/image_store_unittest.cc
|
View
|
|
7 chunks |
+105 lines, -39 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/image_store_util.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/image_store_util.cc
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/image_store_util_ios.mm
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/persistent_image_store.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/persistent_image_store.cc
|
View
|
|
9 chunks |
+131 lines, -26 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/test_image_store.h
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
components/enhanced_bookmarks/test_image_store.cc
|
View
|
|
4 chunks |
+10 lines, -14 lines |
0 comments
|
Download
|
Total messages: 19 (5 generated)
|