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

Unified Diff: net/base/test_completion_callback.cc

Issue 693943003: Update from https://crrev.com/302630 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « net/base/test_completion_callback.h ('k') | net/base/test_completion_callback_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/test_completion_callback.cc
diff --git a/net/base/test_completion_callback.cc b/net/base/test_completion_callback.cc
index 4fcff74faac2c6bb93c16c77da5f3702612d0dbc..7094592d1dd1d03ce56007d9122e9f30b0a5ce8e 100644
--- a/net/base/test_completion_callback.cc
+++ b/net/base/test_completion_callback.cc
@@ -35,11 +35,21 @@ TestCompletionCallbackBaseInternal::TestCompletionCallbackBaseInternal()
waiting_for_result_(false) {
}
+TestCompletionCallbackBaseInternal::~TestCompletionCallbackBaseInternal() {
+}
+
} // namespace internal
+TestClosure::TestClosure()
+ : closure_(base::Bind(&TestClosure::DidSetResult, base::Unretained(this))) {
+}
+
+TestClosure::~TestClosure() {
+}
+
TestCompletionCallback::TestCompletionCallback()
: callback_(base::Bind(&TestCompletionCallback::SetResult,
- base::Unretained(this))) {
+ base::Unretained(this))) {
}
TestCompletionCallback::~TestCompletionCallback() {
@@ -47,7 +57,7 @@ TestCompletionCallback::~TestCompletionCallback() {
TestInt64CompletionCallback::TestInt64CompletionCallback()
: callback_(base::Bind(&TestInt64CompletionCallback::SetResult,
- base::Unretained(this))) {
+ base::Unretained(this))) {
}
TestInt64CompletionCallback::~TestInt64CompletionCallback() {
« no previous file with comments | « net/base/test_completion_callback.h ('k') | net/base/test_completion_callback_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698