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

Side by Side Diff: ppapi/shared_impl/tracked_callback.h

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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 | « ppapi/shared_impl/callback_tracker.h ('k') | remoting/client/rectangle_update_decoder.cc » ('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) 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 #ifndef PPAPI_SHARED_IMPL_TRACKED_CALLBACK_H_ 5 #ifndef PPAPI_SHARED_IMPL_TRACKED_CALLBACK_H_
6 #define PPAPI_SHARED_IMPL_TRACKED_CALLBACK_H_ 6 #define PPAPI_SHARED_IMPL_TRACKED_CALLBACK_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/task.h" 13 #include "base/memory/weak_ptr.h"
14 #include "ppapi/c/pp_completion_callback.h" 14 #include "ppapi/c/pp_completion_callback.h"
15 #include "ppapi/c/pp_resource.h" 15 #include "ppapi/c/pp_resource.h"
16 #include "ppapi/shared_impl/ppapi_shared_export.h" 16 #include "ppapi/shared_impl/ppapi_shared_export.h"
17 17
18 namespace ppapi { 18 namespace ppapi {
19 19
20 class CallbackTracker; 20 class CallbackTracker;
21 class Resource; 21 class Resource;
22 22
23 // |TrackedCallback| represents a tracked Pepper callback (from the browser to 23 // |TrackedCallback| represents a tracked Pepper callback (from the browser to
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 bool completed_; 117 bool completed_;
118 bool aborted_; 118 bool aborted_;
119 PP_CompletionCallback callback_; 119 PP_CompletionCallback callback_;
120 120
121 DISALLOW_IMPLICIT_CONSTRUCTORS(TrackedCallback); 121 DISALLOW_IMPLICIT_CONSTRUCTORS(TrackedCallback);
122 }; 122 };
123 123
124 } // namespace ppapi 124 } // namespace ppapi
125 125
126 #endif // PPAPI_SHARED_IMPL_TRACKED_CALLBACK_H_ 126 #endif // PPAPI_SHARED_IMPL_TRACKED_CALLBACK_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/callback_tracker.h ('k') | remoting/client/rectangle_update_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698