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

Issue 8068013: Add interface to CancelableRequest that allows use of base::Callback<>. (Closed)

Created:
9 years, 2 months ago by awong
Modified:
9 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, dpranke+watch-content_chromium.org, jam
Visibility:
Public.

Description

Add interface to CancelableRequest that allows use of base::Callback<>. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103691

Patch Set 1 : Proposal #

Patch Set 2 : Fix compile errors, rebase, and migrate icon_manager.\ #

Patch Set 3 : fix mac #

Patch Set 4 : Fix windows build #

Patch Set 5 : Fix dcheck #

Total comments: 8

Patch Set 6 : address brett's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -11 lines) Patch
M chrome/browser/icon_manager.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/icon_manager.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/download/download_item_mac.mm View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/download/download_item_gtk.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/fileicon_source.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/cancelable_request.h View 1 2 3 4 5 5 chunks +241 lines, -0 lines 0 comments Download
M content/browser/cancelable_request.cc View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
awong
Here's a proposed modification of the CancelableRequest API to work with base::Callback<>. Instead of: request->ForwardResult(FooRequest::TupleType(a, ...
9 years, 2 months ago (2011-09-28 22:10:37 UTC) #1
awong
This is ready for review. Darin, Brett, if you two are too busy and there's ...
9 years, 2 months ago (2011-10-01 01:11:57 UTC) #2
brettw
LGTM http://codereview.chromium.org/8068013/diff/8002/chrome/browser/icon_manager.h File chrome/browser/icon_manager.h (right): http://codereview.chromium.org/8068013/diff/8002/chrome/browser/icon_manager.h#newcode74 chrome/browser/icon_manager.h:74: typedef Callback2<Handle, gfx::Image*>::Type OldIconRequestCallback; It looks like you ...
9 years, 2 months ago (2011-10-01 16:26:12 UTC) #3
awong
Thanks Brett! Fixed comments. Will commit if it tries clean. http://codereview.chromium.org/8068013/diff/8002/chrome/browser/icon_manager.h File chrome/browser/icon_manager.h (right): http://codereview.chromium.org/8068013/diff/8002/chrome/browser/icon_manager.h#newcode74 ...
9 years, 2 months ago (2011-10-03 05:18:39 UTC) #4
commit-bot: I haz the power
CQ is trying the patch. Follow status at https://chromium-status.appspot.com/cq/ajwong@chromium.org/8068013/13001
9 years, 2 months ago (2011-10-03 06:43:07 UTC) #5
commit-bot: I haz the power
9 years, 2 months ago (2011-10-03 07:59:30 UTC) #6
Change committed as 103691

Powered by Google App Engine
This is Rietveld 408576698