summaryrefslogtreecommitdiffstats
path: root/net/base/completion_callback.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/completion_callback.cc')
-rw-r--r--net/base/completion_callback.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/base/completion_callback.cc b/net/base/completion_callback.cc
new file mode 100644
index 0000000..e19e327
--- /dev/null
+++ b/net/base/completion_callback.cc
@@ -0,0 +1,14 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "net/base/completion_callback.h"
+
+namespace net {
+
+void OldCompletionCallbackAdapter(OldCompletionCallback* old_callback,
+ int rv) {
+ old_callback->Run(rv);
+}
+
+} // namespace net