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

Unified Diff: ppapi/shared_impl/api_callback_type.h

Issue 10081020: PPAPI: Make blocking completion callbacks work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleaned up for review. Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/shared_impl/api_callback_type.h
diff --git a/ppapi/shared_impl/api_callback_type.h b/ppapi/shared_impl/api_callback_type.h
new file mode 100644
index 0000000000000000000000000000000000000000..7f6f7aed79bbbd5baa6c8821c70e73fe16cc00c5
--- /dev/null
+++ b/ppapi/shared_impl/api_callback_type.h
@@ -0,0 +1,17 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PPAPI_SHARED_IMPL_API_CALLBACK_TYPE_H_
+#define PPAPI_SHARED_IMPL_API_CALLBACK_TYPE_H_
+
+#include "base/memory/ref_counted.h"
+#include "ppapi/shared_impl/tracked_callback.h"
+
+namespace ppapi {
+
+typedef scoped_refptr<TrackedCallback> ApiCallbackType;
brettw 2012/04/20 18:24:29 Personally, I find using this to be less clear tha
dmichael (off chromium) 2012/05/16 22:18:34 Yeah, I agree. I was: (1) afraid I'd have to chang
+
+} // namespace ppapi
+
+#endif // PPAPI_SHARED_IMPL_API_CALLBACK_TYPE_H_

Powered by Google App Engine
This is Rietveld 408576698