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

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

Issue 6985009: iwyu: Use callback_old.h where appropriate, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « media/video/video_decode_accelerator.h ('k') | printing/printing_context.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_COMPLETION_CALLBACK_H__ 5 #ifndef NET_BASE_COMPLETION_CALLBACK_H__
6 #define NET_BASE_COMPLETION_CALLBACK_H__ 6 #define NET_BASE_COMPLETION_CALLBACK_H__
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback.h" 9 #include "base/callback_old.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 // A callback specialization that takes a single int parameter. Usually this 13 // A callback specialization that takes a single int parameter. Usually this
14 // is used to report a byte count or network error code. 14 // is used to report a byte count or network error code.
15 typedef Callback1<int>::Type CompletionCallback; 15 typedef Callback1<int>::Type CompletionCallback;
16 16
17 // Used to implement a CompletionCallback. 17 // Used to implement a CompletionCallback.
18 template <class T> 18 template <class T>
19 class CompletionCallbackImpl : 19 class CompletionCallbackImpl :
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } 51 }
52 } 52 }
53 53
54 private: 54 private:
55 bool is_canceled_; 55 bool is_canceled_;
56 }; 56 };
57 57
58 } // namespace net 58 } // namespace net
59 59
60 #endif // NET_BASE_COMPLETION_CALLBACK_H__ 60 #endif // NET_BASE_COMPLETION_CALLBACK_H__
OLDNEW
« no previous file with comments | « media/video/video_decode_accelerator.h ('k') | printing/printing_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698