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

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

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 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 | « ppapi/shared_impl/thread_aware_callback.h ('k') | ppapi/shared_impl/var.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 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 <stdint.h>
9
8 #include <map> 10 #include <map>
9 #include <set> 11 #include <set>
10 12
11 #include "base/basictypes.h"
12 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
15 #include "base/synchronization/condition_variable.h" 17 #include "base/synchronization/condition_variable.h"
16 #include "base/synchronization/lock.h" 18 #include "base/synchronization/lock.h"
17 #include "ppapi/c/pp_completion_callback.h" 19 #include "ppapi/c/pp_completion_callback.h"
18 #include "ppapi/c/pp_instance.h" 20 #include "ppapi/c/pp_instance.h"
19 #include "ppapi/c/pp_resource.h" 21 #include "ppapi/c/pp_resource.h"
20 #include "ppapi/shared_impl/ppapi_shared_export.h" 22 #include "ppapi/shared_impl/ppapi_shared_export.h"
21 #include "ppapi/shared_impl/ppb_message_loop_shared.h" 23 #include "ppapi/shared_impl/ppb_message_loop_shared.h"
22 24
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 // callback. Note that in-process, there is no lock, blocking callbacks are 193 // callback. Note that in-process, there is no lock, blocking callbacks are
192 // not allowed, and therefore this pointer will be NULL. 194 // not allowed, and therefore this pointer will be NULL.
193 scoped_ptr<base::ConditionVariable> operation_completed_condvar_; 195 scoped_ptr<base::ConditionVariable> operation_completed_condvar_;
194 196
195 DISALLOW_IMPLICIT_CONSTRUCTORS(TrackedCallback); 197 DISALLOW_IMPLICIT_CONSTRUCTORS(TrackedCallback);
196 }; 198 };
197 199
198 } // namespace ppapi 200 } // namespace ppapi
199 201
200 #endif // PPAPI_SHARED_IMPL_TRACKED_CALLBACK_H_ 202 #endif // PPAPI_SHARED_IMPL_TRACKED_CALLBACK_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/thread_aware_callback.h ('k') | ppapi/shared_impl/var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698