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

Unified Diff: net/base/completion_callback.h

Issue 8738001: Remove BindStateHolder and have Bind() return a Callback<> object directly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more compile fixes Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/demuxer_stream.h ('k') | net/base/completion_callback.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/completion_callback.h
diff --git a/net/base/completion_callback.h b/net/base/completion_callback.h
index cea6be36cb980ff2631fbac7acda8593068f3bb6..204299422fc447b3e50b444d25d4480a56fb3a7b 100644
--- a/net/base/completion_callback.h
+++ b/net/base/completion_callback.h
@@ -60,6 +60,13 @@ class CancelableOldCompletionCallback :
bool is_canceled_;
};
+// Helper function for using OldCompletionCallback objects with
+// the newer CompletionCallback APIs.
+//
+// This is a transitional function and should be removed when
+// OldCompletionCallbackAdapter is deleted.
+void OldCompletionCallbackAdapter(OldCompletionCallback* old_callback, int rv);
+
} // namespace net
#endif // NET_BASE_COMPLETION_CALLBACK_H__
« no previous file with comments | « media/base/demuxer_stream.h ('k') | net/base/completion_callback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698