| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/curvecp/test_client.h" | 5 #include "net/curvecp/test_client.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 void TestClient::Finish(int result) { | 169 void TestClient::Finish(int result) { |
| 170 DCHECK(finished_callback_); | 170 DCHECK(finished_callback_); |
| 171 | 171 |
| 172 LOG(ERROR) << "TestClient Done!"; | 172 LOG(ERROR) << "TestClient Done!"; |
| 173 CompletionCallback* callback = finished_callback_; | 173 CompletionCallback* callback = finished_callback_; |
| 174 finished_callback_ = NULL; | 174 finished_callback_ = NULL; |
| 175 callback->Run(result); | 175 callback->Run(result); |
| 176 } | 176 } |
| 177 | 177 |
| 178 } // namespace net | 178 } // namespace net |
| OLD | NEW |