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

Side by Side Diff: net/base/test_completion_callback.h

Issue 790623002: Drop unused base/tuple.h inclusion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « device/hid/hid_connection_linux.cc ('k') | net/disk_cache/disk_cache_test_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef NET_BASE_TEST_COMPLETION_CALLBACK_H_ 5 #ifndef NET_BASE_TEST_COMPLETION_CALLBACK_H_
6 #define NET_BASE_TEST_COMPLETION_CALLBACK_H_ 6 #define NET_BASE_TEST_COMPLETION_CALLBACK_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/tuple.h"
11 #include "net/base/completion_callback.h" 10 #include "net/base/completion_callback.h"
12 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
13 12
14 //----------------------------------------------------------------------------- 13 //-----------------------------------------------------------------------------
15 // completion callback helper 14 // completion callback helper
16 15
17 // A helper class for completion callbacks, designed to make it easy to run 16 // A helper class for completion callbacks, designed to make it easy to run
18 // tests involving asynchronous operations. Just call WaitForResult to wait 17 // tests involving asynchronous operations. Just call WaitForResult to wait
19 // for the asynchronous operation to complete. 18 // for the asynchronous operation to complete.
20 // 19 //
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 private: 137 private:
139 void SetResult(int result) override; 138 void SetResult(int result) override;
140 139
141 IOBuffer* buffer_; 140 IOBuffer* buffer_;
142 DISALLOW_COPY_AND_ASSIGN(ReleaseBufferCompletionCallback); 141 DISALLOW_COPY_AND_ASSIGN(ReleaseBufferCompletionCallback);
143 }; 142 };
144 143
145 } // namespace net 144 } // namespace net
146 145
147 #endif // NET_BASE_TEST_COMPLETION_CALLBACK_H_ 146 #endif // NET_BASE_TEST_COMPLETION_CALLBACK_H_
OLDNEW
« no previous file with comments | « device/hid/hid_connection_linux.cc ('k') | net/disk_cache/disk_cache_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698