|
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
|
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
|
Total messages: 5 (0 generated)
|