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

Issue 305963004: Add GetStoreSize() to ImageStore to know the actual db size. (Closed)

Created:
6 years, 6 months ago by Kibeom Kim (inactive)
Modified:
6 years, 6 months ago
CC:
chromium-reviews, Yaron, Ted C
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add GetStoreSizeInBytes() to ImageStore to know the actual db size. We will limit the enhanced bookmark image store database size to ensure that the db file size is reasonable. So add a function to query the actual file size. BUG=378853 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274297

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed patchset 1 comments #

Patch Set 3 : size += bitmap.getSize(); #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -0 lines) Patch
M components/enhanced_bookmarks/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M components/enhanced_bookmarks/image_store.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/enhanced_bookmarks/image_store_unittest.cc View 1 2 chunks +30 lines, -0 lines 0 comments Download
M components/enhanced_bookmarks/persistent_image_store.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/enhanced_bookmarks/persistent_image_store.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M components/enhanced_bookmarks/test_image_store.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/enhanced_bookmarks/test_image_store.cc View 1 2 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Kibeom Kim (inactive)
6 years, 6 months ago (2014-05-29 20:50:11 UTC) #1
sky
https://codereview.chromium.org/305963004/diff/1/components/enhanced_bookmarks/image_store.h File components/enhanced_bookmarks/image_store.h (right): https://codereview.chromium.org/305963004/diff/1/components/enhanced_bookmarks/image_store.h#newcode55 components/enhanced_bookmarks/image_store.h:55: virtual int64 GetStoreSize() = 0; Add description, and it ...
6 years, 6 months ago (2014-05-29 21:51:04 UTC) #2
Kibeom Kim (inactive)
https://codereview.chromium.org/305963004/diff/1/components/enhanced_bookmarks/image_store.h File components/enhanced_bookmarks/image_store.h (right): https://codereview.chromium.org/305963004/diff/1/components/enhanced_bookmarks/image_store.h#newcode55 components/enhanced_bookmarks/image_store.h:55: virtual int64 GetStoreSize() = 0; On 2014/05/29 21:51:05, sky ...
6 years, 6 months ago (2014-05-29 23:07:14 UTC) #3
sky
LGTM
6 years, 6 months ago (2014-05-30 02:27:49 UTC) #4
Kibeom Kim (inactive)
The CQ bit was checked by kkimlabs@chromium.org
6 years, 6 months ago (2014-05-30 02:36:43 UTC) #5
Kibeom Kim (inactive)
The CQ bit was unchecked by kkimlabs@chromium.org
6 years, 6 months ago (2014-05-30 02:36:51 UTC) #6
Kibeom Kim (inactive)
+OWNER reed for "+third_party/skia" in DEPS
6 years, 6 months ago (2014-05-30 02:38:11 UTC) #7
reed1
lgtm
6 years, 6 months ago (2014-05-30 12:17:40 UTC) #8
Kibeom Kim (inactive)
The CQ bit was checked by kkimlabs@chromium.org
6 years, 6 months ago (2014-05-30 14:30:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkimlabs@chromium.org/305963004/20001
6 years, 6 months ago (2014-05-30 14:32:02 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-30 18:23:53 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-31 02:08:27 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_dbg/builds/24554)
6 years, 6 months ago (2014-05-31 02:08:27 UTC) #13
Kibeom Kim (inactive)
The CQ bit was checked by kkimlabs@chromium.org
6 years, 6 months ago (2014-05-31 02:38:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkimlabs@chromium.org/305963004/20001
6 years, 6 months ago (2014-05-31 02:41:36 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-05-31 04:36:24 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-31 06:31:00 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_dbg/builds/24627)
6 years, 6 months ago (2014-05-31 06:31:01 UTC) #18
Kibeom Kim (inactive)
The CQ bit was checked by kkimlabs@chromium.org
6 years, 6 months ago (2014-06-02 08:10:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkimlabs@chromium.org/305963004/40001
6 years, 6 months ago (2014-06-02 08:10:29 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-02 17:27:19 UTC) #21
commit-bot: I haz the power
6 years, 6 months ago (2014-06-02 19:16:41 UTC) #22
Message was sent while issue was closed.
Change committed as 274297

Powered by Google App Engine
This is Rietveld 408576698