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

Unified Diff: ppapi/shared_impl/ppp_instance_combined.h

Issue 7189045: Make o.o.p. proxy handle PPP_Instance versions 0.4 and 0.5. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 9 years, 6 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
« no previous file with comments | « ppapi/proxy/ppp_instance_proxy_test.cc ('k') | ppapi/shared_impl/ppp_instance_combined.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppp_instance_combined.h
diff --git a/ppapi/shared_impl/ppp_instance_combined.h b/ppapi/shared_impl/ppp_instance_combined.h
new file mode 100644
index 0000000000000000000000000000000000000000..a186c062215f90525481125562df555acf3909cb
--- /dev/null
+++ b/ppapi/shared_impl/ppp_instance_combined.h
@@ -0,0 +1,26 @@
+// 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.
+
+#ifndef PPAPI_SHARED_IMPL_PPP_INSTANCE_COMBINED_H_
+#define PPAPI_SHARED_IMPL_PPP_INSTANCE_COMBINED_H_
+
+#include "base/basictypes.h"
+#include "ppapi/c/ppp_instance.h"
+
+namespace ppapi {
+
+struct PPP_Instance_Combined : public PPP_Instance_0_5 {
+ public:
+ explicit PPP_Instance_Combined(const PPP_Instance_0_5& instance_if);
+ explicit PPP_Instance_Combined(const PPP_Instance_0_4& instance_if);
+
+ PP_Var (*const GetInstanceObject_0_4)(PP_Instance instance);
+
+ DISALLOW_COPY_AND_ASSIGN(PPP_Instance_Combined);
+};
+
+} // namespace ppapi
+
+#endif // PPAPI_SHARED_IMPL_PPP_INSTANCE_COMBINED_H_
+
« no previous file with comments | « ppapi/proxy/ppp_instance_proxy_test.cc ('k') | ppapi/shared_impl/ppp_instance_combined.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698