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

Unified Diff: ppapi/shared_impl/hello_impl.cc

Issue 8414054: Hello Pepper API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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
« no previous file with comments | « ppapi/shared_impl/hello_impl.h ('k') | ppapi/shared_impl/resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/hello_impl.cc
diff --git a/ppapi/shared_impl/hello_impl.cc b/ppapi/shared_impl/hello_impl.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0e412fe27174a0da4288d076cab5d0cffaa6039c
--- /dev/null
+++ b/ppapi/shared_impl/hello_impl.cc
@@ -0,0 +1,28 @@
+// Copyright (c) 2011 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.
+
+#include "ppapi/shared_impl/hello_impl.h"
+
+#include "base/logging.h"
+#include "ppapi/c/pp_errors.h"
+
+namespace ppapi {
+
+HelloImpl::HelloImpl() {
+}
+
+HelloImpl::~HelloImpl() {
+}
+
+int32_t HelloImpl::SayHello() {
+ LOG(ERROR) << "SayHello";
+ return PP_OK;
+}
+
+void HelloImpl::WhoAreYou(char* name, uint32_t size,
+ pp::CompletionCallback callback) {
+ LOG(ERROR) << "WhoAreYou";
+}
+
+} // namespace ppapi
« no previous file with comments | « ppapi/shared_impl/hello_impl.h ('k') | ppapi/shared_impl/resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698