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

Issue 8702019: Use callback_forward.h instead of callback.h where possible. (Closed)

Created:
9 years ago by erikwright (departed)
Modified:
9 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, sadrul, tburkard+watch_chromium.org, tfarina, brettw-cc_chromium.org, kkania, dominich+watch_chromium.org, robertshield, Paweł Hajdan Jr., mmenke, dhollowa
Visibility:
Public.

Description

callback_forward.h forward-declares base::Callback and base::Closure. This CL includes callback_forward.h and a number of files that depend on it. Other CLs have been sent to other reviewers, according to OWNERS files. This search shows the other CLs: http://goo.gl/vzQoJ See this chromium-dev thread for the rationale behind the change: http://goo.gl/I3kob BUG=None TEST=Compiles Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111782

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix include order. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -18 lines) Patch
A base/callback_forward.h View 1 chunk +18 lines, -0 lines 0 comments Download
M base/message_loop.h View 1 chunk +1 line, -1 line 0 comments Download
M base/message_loop_proxy.h View 1 chunk +1 line, -1 line 0 comments Download
M base/threading/worker_pool.h View 1 chunk +1 line, -1 line 0 comments Download
M base/threading/worker_pool_posix.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/ui_controls.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/ui_controls_internal.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/ui_controls_internal.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/automation/ui_controls_win.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/favicon/favicon_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/importer/toolbar_importer_utils.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/intents/web_intents_registry.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/mock_browsing_data_appcache_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_mac.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prerender/prerender_tracker.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_shortcut_manager_win.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_store.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_store_file.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/spellchecker/spellchecker_platform_engine.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/webdata/web_data_service.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
erikwright (departed)
Hi Will, callback_forward.h forward-declares base::Callback and base::Closure. This CL includes callback_forward.h and a number of ...
9 years ago (2011-11-26 02:34:50 UTC) #1
willchan no longer on Chromium
+ajwong I'll let Albert do the review and then rubberstamp it. I'm in support of ...
9 years ago (2011-11-26 03:08:05 UTC) #2
awong
Just got one question. I'd also bikeshed that the name might want to be callback_decl.h ...
9 years ago (2011-11-26 08:36:54 UTC) #3
erikwright (departed)
On 2011/11/26 08:36:54, awong wrote: > Just got one question. > > I'd also bikeshed ...
9 years ago (2011-11-26 18:44:01 UTC) #4
erikwright (departed)
http://codereview.chromium.org/8702019/diff/1/chrome/browser/safe_browsing/safe_browsing_store_file.h File chrome/browser/safe_browsing/safe_browsing_store_file.h (right): http://codereview.chromium.org/8702019/diff/1/chrome/browser/safe_browsing/safe_browsing_store_file.h#newcode14 chrome/browser/safe_browsing/safe_browsing_store_file.h:14: #include "base/callback.h" On 2011/11/26 08:36:55, awong wrote: > Can't ...
9 years ago (2011-11-26 18:44:30 UTC) #5
awong
LGTM Thanks for doing this! On Sat, Nov 26, 2011 at 10:44 AM, <erikwright@chromium.org> wrote: ...
9 years ago (2011-11-26 23:15:44 UTC) #6
willchan no longer on Chromium
Stop working so hard :) I'll skim this later tonight and then rubberstamp it. On ...
9 years ago (2011-11-26 23:22:29 UTC) #7
willchan no longer on Chromium
lgtm http://codereview.chromium.org/8702019/diff/1/chrome/browser/automation/ui_controls_internal.cc File chrome/browser/automation/ui_controls_internal.cc (right): http://codereview.chromium.org/8702019/diff/1/chrome/browser/automation/ui_controls_internal.cc#newcode5 chrome/browser/automation/ui_controls_internal.cc:5: #include "base/callback.h" This should go below the other ...
9 years ago (2011-11-28 20:13:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/8702019/13001
9 years ago (2011-11-28 20:22:35 UTC) #9
erikwright (departed)
http://codereview.chromium.org/8702019/diff/1/chrome/browser/automation/ui_controls_internal.cc File chrome/browser/automation/ui_controls_internal.cc (right): http://codereview.chromium.org/8702019/diff/1/chrome/browser/automation/ui_controls_internal.cc#newcode5 chrome/browser/automation/ui_controls_internal.cc:5: #include "base/callback.h" On 2011/11/28 20:13:07, willchan wrote: > This ...
9 years ago (2011-11-28 20:23:08 UTC) #10
commit-bot: I haz the power
9 years ago (2011-11-28 22:00:32 UTC) #11
Change committed as 111782

Powered by Google App Engine
This is Rietveld 408576698