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

Issue 11830007: Avoid sending notifications when the bitmap data in history has not changed (Closed)

Created:
7 years, 11 months ago by pkotwicz
Modified:
7 years, 9 months ago
CC:
chromium-reviews, browser-components-watch_chromium.org, justincohen
Visibility:
Public.

Description

Avoid sending notifications when the bitmap data in the history backend is replaced with bitmap data which is byte for byte equal. Bug=168223 Test=HistoryBackendTest.* Manual: see comment #7 in bug Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176691

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Total comments: 1

Patch Set 6 : Nits per sky@, Added unit test to ref_counted_memory_unittest #

Patch Set 7 : #

Total comments: 1

Patch Set 8 : #

Patch Set 9 : Split the changes to MergeFavicon() and SetFavicons() into two CLs as only the changes to MergeFavi… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -4 lines) Patch
M base/memory/ref_counted_memory.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M base/memory/ref_counted_memory.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M base/memory/ref_counted_memory_unittest.cc View 1 2 3 4 5 6 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/history/history_backend.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/history/history_backend.cc View 1 2 3 4 5 6 7 8 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/history/history_backend_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +30 lines, -4 lines 0 comments Download
M chrome/browser/history/thumbnail_database.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/history/thumbnail_database.cc View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
pkotwicz
Scott, can you please take a look? This fixes the performance problems with duplicate bookmarks. ...
7 years, 11 months ago (2013-01-09 17:03:15 UTC) #1
pkotwicz
Scott, can you please take a look?
7 years, 11 months ago (2013-01-09 17:03:37 UTC) #2
sky
https://codereview.chromium.org/11830007/diff/6002/chrome/browser/history/history_backend.cc File chrome/browser/history/history_backend.cc (right): https://codereview.chromium.org/11830007/diff/6002/chrome/browser/history/history_backend.cc#newcode2377 chrome/browser/history/history_backend.cc:2377: return original_bitmap_data.get() && Should this be on RefCountedMemory? Specfically ...
7 years, 11 months ago (2013-01-09 17:55:25 UTC) #3
pkotwicz
Scott, can you please take another look? Added base::RefCountedMemory::Equals() as requested.
7 years, 11 months ago (2013-01-09 19:00:46 UTC) #4
sky
LGTM for non-base changes. You'll need a base OWNER for the base change. https://codereview.chromium.org/11830007/diff/8006/base/memory/ref_counted_memory.cc File ...
7 years, 11 months ago (2013-01-09 20:38:24 UTC) #5
pkotwicz
jar@, can you please take a look at the changes in base/
7 years, 11 months ago (2013-01-09 21:12:27 UTC) #6
jar (doing other things)
https://codereview.chromium.org/11830007/diff/9010/base/memory/ref_counted_memory.cc File base/memory/ref_counted_memory.cc (right): https://codereview.chromium.org/11830007/diff/9010/base/memory/ref_counted_memory.cc#newcode11 base/memory/ref_counted_memory.cc:11: bool RefCountedMemory::Equals(const RefCountedMemory* other) const { Why doesn't this ...
7 years, 11 months ago (2013-01-10 07:09:06 UTC) #7
pkotwicz
Changed argument to scoped_refptr const ref.
7 years, 11 months ago (2013-01-10 15:50:56 UTC) #8
jar (doing other things)
base in patch set 8 LGTM
7 years, 11 months ago (2013-01-12 15:53:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/11830007/17001
7 years, 11 months ago (2013-01-14 15:49:11 UTC) #10
commit-bot: I haz the power
Change committed as 176691
7 years, 11 months ago (2013-01-14 18:59:56 UTC) #11
sky
7 years, 9 months ago (2013-03-19 21:27:08 UTC) #12
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698