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

Issue 10765021: Make the id used in IconMsg_DownloadFavicon unique (Closed)

Created:
8 years, 5 months ago by pkotwicz
Modified:
8 years, 5 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Added FaviconTabHelper::GetNextFaviconDownloadRequestId() such that the id used in IconMsg_DownloadFavicon is unique. Currently, the ids are not unique as multiple classes send IconMsg_DownloadFavicon messages each with a locally generated id. This is necessary for 10500015. Bug=None Test=Compiles Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146397

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Nits #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Removed pragma #

Patch Set 7 : Fixed unittest compile error #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -85 lines) Patch
M chrome/browser/favicon/favicon_handler.cc View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/favicon/favicon_handler_delegate.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/favicon/favicon_handler_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/favicon/favicon_tab_helper.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/favicon/favicon_tab_helper.cc View 2 chunks +4 lines, -3 lines 0 comments Download
A chrome/browser/favicon/favicon_util.h View 1 2 3 4 5 8 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/favicon/favicon_util.cc View 1 2 3 4 8 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/hung_renderer_controller.mm View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/ui/cocoa/tab_contents/favicon_util.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -20 lines 0 comments Download
D chrome/browser/ui/cocoa/tab_contents/favicon_util.mm View 1 2 3 4 5 6 7 1 chunk +0 lines, -36 lines 0 comments Download
A + chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tabpose_window.mm View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_window_controller_cocoa.mm View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/ash/balloon_view_ash.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/ash/launcher/launcher_favicon_loader.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
pkotwicz
Changes as requested. Added favicon_util to wrap sending IconMsg_DownloadFavicon
8 years, 5 months ago (2012-07-09 23:58:49 UTC) #1
stevenjb
LGTM with nits http://codereview.chromium.org/10765021/diff/2001/chrome/browser/favicon/favicon_util.cc File chrome/browser/favicon/favicon_util.cc (right): http://codereview.chromium.org/10765021/diff/2001/chrome/browser/favicon/favicon_util.cc#newcode17 chrome/browser/favicon/favicon_util.cc:17: image_size)); nit: align image_size with new ...
8 years, 5 months ago (2012-07-10 15:30:15 UTC) #2
pkotwicz
Ben for OWNERS
8 years, 5 months ago (2012-07-10 21:12:49 UTC) #3
pkotwicz
8 years, 5 months ago (2012-07-11 14:35:12 UTC) #4
Ben Goodger (Google)
lgtm
8 years, 5 months ago (2012-07-11 16:07:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/10765021/7002
8 years, 5 months ago (2012-07-11 20:21:56 UTC) #6
commit-bot: I haz the power
Presubmit check for 10765021-7002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-11 20:22:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/10765021/7002
8 years, 5 months ago (2012-07-11 21:56:07 UTC) #8
commit-bot: I haz the power
Presubmit check for 10765021-7002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-11 21:56:14 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/10765021/15001
8 years, 5 months ago (2012-07-11 22:50:44 UTC) #10
commit-bot: I haz the power
Try job failure for 10765021-15001 (retry) on mac_rel for step "runhooks". It's a second try, ...
8 years, 5 months ago (2012-07-11 22:55:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/10765021/16003
8 years, 5 months ago (2012-07-12 01:35:41 UTC) #12
commit-bot: I haz the power
Try job failure for 10765021-16003 (retry) on mac_rel for step "runhooks". It's a second try, ...
8 years, 5 months ago (2012-07-12 01:40:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/10765021/7006
8 years, 5 months ago (2012-07-12 16:13:55 UTC) #14
commit-bot: I haz the power
Try job failure for 10765021-7006 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 5 months ago (2012-07-12 16:21:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/10765021/12014
8 years, 5 months ago (2012-07-12 17:06:07 UTC) #16
commit-bot: I haz the power
8 years, 5 months ago (2012-07-12 18:27:40 UTC) #17
Change committed as 146397

Powered by Google App Engine
This is Rietveld 408576698