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

Unified Diff: ppapi/proxy/serialized_var.h

Issue 7687005: Create ppapi_proxy.dll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/serialized_structs.h ('k') | ppapi/shared_impl/audio_config_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/serialized_var.h
===================================================================
--- ppapi/proxy/serialized_var.h (revision 98434)
+++ ppapi/proxy/serialized_var.h (working copy)
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "ppapi/c/pp_var.h"
+#include "ppapi/proxy/ppapi_proxy_export.h"
namespace IPC {
class Message;
@@ -61,7 +62,7 @@
//
// The helper classes used for accessing the SerializedVar have more reasonable
// behavior and will enforce that you don't do stupid things.
-class SerializedVar {
+class PPAPI_PROXY_EXPORT SerializedVar {
public:
SerializedVar();
~SerializedVar();
@@ -82,7 +83,7 @@
friend class SerializedVarTestConstructor;
friend class SerializedVarVectorReceiveInput;
- class Inner : public base::RefCounted<Inner> {
+ class PPAPI_PROXY_EXPORT Inner : public base::RefCounted<Inner> {
public:
Inner();
Inner(VarSerializationRules* serialization_rules);
@@ -212,7 +213,8 @@
// Send(new MyFunctionMsg(&result));
// return result.Return(dispatcher());
// }
-class ReceiveSerializedVarReturnValue : public SerializedVar {
+class PPAPI_PROXY_EXPORT ReceiveSerializedVarReturnValue
+ : public SerializedVar {
public:
// Note that we can't set the dispatcher in the constructor because the
// data will be overridden when the return value is set. This constructor is
@@ -303,7 +305,7 @@
// void OnMsgMyFunction(SerializedVarReceiveInput param) {
// MyFunction(param.Get());
// }
-class SerializedVarReceiveInput {
+class PPAPI_PROXY_EXPORT SerializedVarReceiveInput {
public:
// We rely on the implicit constructor here since the IPC layer will call
// us with a SerializedVar. Pass this object by value, the copy constructor
@@ -359,7 +361,7 @@
// void OnMsgMyFunction(SerializedVarReturnValue result) {
// result.Return(dispatcher(), MyFunction());
// }
-class SerializedVarReturnValue {
+class PPAPI_PROXY_EXPORT SerializedVarReturnValue {
public:
// We rely on the implicit constructor here since the IPC layer will call
// us with a SerializedVar*. Pass this object by value, the copy constructor
@@ -387,7 +389,7 @@
// void OnMsgMyFunction(SerializedVarOutParam out_param) {
// MyFunction(out_param.OutParam(dispatcher()));
// }
-class SerializedVarOutParam {
+class PPAPI_PROXY_EXPORT SerializedVarOutParam {
public:
// We rely on the implicit constructor here since the IPC layer will call
// us with a SerializedVar*. Pass this object by value, the copy constructor
@@ -432,7 +434,7 @@
// For tests that just want to construct a SerializedVar for giving it to one
// of the other classes. This emulates a SerializedVar just received over the
// wire from another process.
-class SerializedVarTestConstructor : public SerializedVar {
+class PPAPI_PROXY_EXPORT SerializedVarTestConstructor : public SerializedVar {
public:
// For POD-types and objects.
explicit SerializedVarTestConstructor(const PP_Var& pod_var);
@@ -442,7 +444,7 @@
};
// For tests that want to read what's in a SerializedVar.
-class SerializedVarTestReader : public SerializedVar {
+class PPAPI_PROXY_EXPORT SerializedVarTestReader : public SerializedVar {
public:
explicit SerializedVarTestReader(const SerializedVar& var);
« no previous file with comments | « ppapi/proxy/serialized_structs.h ('k') | ppapi/shared_impl/audio_config_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698