summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/completion_callback.h
diff options
context:
space:
mode:
authortoyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-16 07:28:21 +0000
committertoyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-16 07:28:21 +0000
commit3e919cb2ef7aacd8280200a36ef9f9323432caeb (patch)
treead8edb11d8e64d86bdcf3c95fad3a100c933a259 /ppapi/cpp/completion_callback.h
parente0c18c77100c783f4f9bcc8f2fd19c3fcfed91e4 (diff)
downloadchromium_src-3e919cb2ef7aacd8280200a36ef9f9323432caeb.zip
chromium_src-3e919cb2ef7aacd8280200a36ef9f9323432caeb.tar.gz
chromium_src-3e919cb2ef7aacd8280200a36ef9f9323432caeb.tar.bz2
WebSocket Pepper API: C++ bindings implementation.
This change contains simple straightforward C++ interfaces. JS like bindings will be implemented as a helper class in another change. BUG=87310 TEST=ui_tests --gtest_filter='PPAPITest.WebSocket_CcInterfaces' Review URL: http://codereview.chromium.org/8821010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114779 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp/completion_callback.h')
-rw-r--r--ppapi/cpp/completion_callback.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/cpp/completion_callback.h b/ppapi/cpp/completion_callback.h
index e83616e..2e5f38b 100644
--- a/ppapi/cpp/completion_callback.h
+++ b/ppapi/cpp/completion_callback.h
@@ -179,6 +179,8 @@ CompletionCallback BlockUntilComplete();
///
/// class MyHandler {
/// public:
+/// // If an compiler warns on following using |this| in the initializer
+/// // list, use PP_ALLOW_THIS_IN_INITIALIZER_LIST macro.
/// MyHandler() : factory_(this), offset_(0) {
/// }
///