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

Side by Side Diff: ppapi/cpp/completion_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/cpp/audio_encoder.h ('k') | ppapi/cpp/compositor.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_CPP_COMPLETION_CALLBACK_H_ 5 #ifndef PPAPI_CPP_COMPLETION_CALLBACK_H_
6 #define PPAPI_CPP_COMPLETION_CALLBACK_H_ 6 #define PPAPI_CPP_COMPLETION_CALLBACK_H_
7 7
8 #include <stdint.h>
9
8 #include "ppapi/c/pp_completion_callback.h" 10 #include "ppapi/c/pp_completion_callback.h"
9 #include "ppapi/c/pp_errors.h" 11 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/cpp/logging.h" 12 #include "ppapi/cpp/logging.h"
11 #include "ppapi/cpp/module.h" 13 #include "ppapi/cpp/module.h"
12 #include "ppapi/cpp/output_traits.h" 14 #include "ppapi/cpp/output_traits.h"
13 15
14 /// @file 16 /// @file
15 /// This file defines the API to create and run a callback. 17 /// This file defines the API to create and run a callback.
16 namespace pp { 18 namespace pp {
17 19
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 /// @return A <code>CompletionCallback</code> corresponding to a NULL callback. 268 /// @return A <code>CompletionCallback</code> corresponding to a NULL callback.
267 inline CompletionCallback BlockUntilComplete() { 269 inline CompletionCallback BlockUntilComplete() {
268 // Note: Explicitly inlined to avoid link errors when included into 270 // Note: Explicitly inlined to avoid link errors when included into
269 // ppapi_proxy and ppapi_cpp_objects. 271 // ppapi_proxy and ppapi_cpp_objects.
270 return CompletionCallback(); 272 return CompletionCallback();
271 } 273 }
272 274
273 } // namespace pp 275 } // namespace pp
274 276
275 #endif // PPAPI_CPP_COMPLETION_CALLBACK_H_ 277 #endif // PPAPI_CPP_COMPLETION_CALLBACK_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/audio_encoder.h ('k') | ppapi/cpp/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698