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

Issue 8915024: Retry 114494 - Remove BindStateHolder and have Bind() return a Callback<> object directly." (Closed)

Created:
9 years ago by awong
Modified:
9 years ago
CC:
chromium-reviews, vrk (LEFT CHROMIUM), nkostylev+watch_chromium.org, erikwright (departed), wtc, annacc+watch_chromium.org, cbentzel+watch_chromium.org, stevenjb+watch_chromium.org, ncarter (slow), acolwell+watch_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, tim (not reviewing), ihf+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, Raghu Simha, rkn, Randy Smith (Not in Mondays), scherkus (not reviewing), hclam+watch_chromium.org, akalin, Paweł Hajdan Jr., davemoore+watch_chromium.org, benjhayden
Visibility:
Public.

Description

Retry 114494 - Remove BindStateHolder and have Bind() return a Callback<> object directly." This removes some complexity and also fixes a bug where if you call Bind() with the result of Bind(), the resulting Callback would only be valid during the first call. Ouch. Also makes the static type checking a bit more strict when assigning into a Callback<>. BUG=none TEST=new unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=115045

Patch Set 1 #

Patch Set 2 : Fix more cros issues #

Patch Set 3 : more fixes #

Patch Set 4 : try again #

Patch Set 5 : rebased #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+328 lines, -287 lines) Patch
M base/bind.h View 11 chunks +94 lines, -77 lines 0 comments Download
M base/bind.h.pump View 2 chunks +10 lines, -7 lines 0 comments Download
M base/bind_unittest.cc View 2 chunks +27 lines, -0 lines 0 comments Download
M base/callback.h View 9 chunks +93 lines, -105 lines 0 comments Download
M base/callback.h.pump View 3 chunks +30 lines, -28 lines 0 comments Download
M base/callback_internal.h View 2 chunks +5 lines, -25 lines 0 comments Download
M base/callback_internal.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M base/callback_unittest.cc View 4 chunks +29 lines, -7 lines 0 comments Download
M base/cancelable_callback.h View 1 chunk +1 line, -2 lines 0 comments Download
M base/debug/trace_event.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M base/debug/trace_event.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M base/debug/trace_event_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M base/test/trace_event_analyzer_unittest.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/dbus/bluetooth_manager_client.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/disks/disk_mount_manager.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/process_proxy/process_output_watcher.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/process_proxy/process_proxy.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/process_proxy/process_proxy_registry.h View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/sync/glue/session_model_associator.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/session_model_associator.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/internal_api/sync_manager.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M media/base/demuxer_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M net/base/cookie_monster_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/base/cookie_store_test_helpers.h View 1 chunk +1 line, -1 line 0 comments Download
M net/base/cookie_store_test_helpers.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_proxy_client_socket.cc View 1 chunk +1 line, -2 lines 0 comments Download
M net/socket/socket_test_util.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M net/socket/web_socket_server_socket.cc View 1 chunk +1 line, -2 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
awong
stevenjb: Just the chrome/browser/chromeos parts please. willchan: it's a reapply of the old patch, so ...
9 years ago (2011-12-19 22:04:50 UTC) #1
willchan no longer on Chromium
Lgtm On Dec 19, 2011 2:04 PM, <ajwong@chromium.org> wrote: > Reviewers: stevenjb, willchan, > > ...
9 years ago (2011-12-19 22:21:10 UTC) #2
stevenjb
Chromeos chages lgtm
9 years ago (2011-12-19 23:19:53 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajwong@chromium.org/8915024/5002
9 years ago (2011-12-19 23:57:06 UTC) #4
commit-bot: I haz the power
9 years ago (2011-12-19 23:57:21 UTC) #5
Presubmit check for 8915024-5002 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit ERRORS **
Missing LGTM from an OWNER for:
chrome/browser/sync/glue/session_model_associator.cc,chrome/browser/sync/glue/session_model_associator.h,chrome/browser/sync/internal_api/sync_manager.cc

Presubmit checks took 3.5s to calculate.

Powered by Google App Engine
This is Rietveld 408576698