Index: ppapi/shared_impl/ppapi_nacl_channel_args.h |
diff --git a/ppapi/shared_impl/ppapi_nacl_channel_args.h b/ppapi/shared_impl/ppapi_nacl_channel_args.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..462a3a094618b00676ce27268acf0a1617c10391 |
--- /dev/null |
+++ b/ppapi/shared_impl/ppapi_nacl_channel_args.h |
@@ -0,0 +1,30 @@ |
+// Copyright (c) 2013 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_PPAPI_CREATE_NACL_CHANNEL_ARGS_H |
+#define PPAPI_SHARED_IMPL_PPAPI_CREATE_NACL_CHANNEL_ARGS_H |
+ |
+#include <string> |
+#include <vector> |
+ |
+#include "ppapi/shared_impl/ppapi_permissions.h" |
+ |
+namespace ppapi { |
+ |
+struct PPAPI_SHARED_EXPORT PpapiNaClChannelArgs { |
+ public: |
+ PpapiNaClChannelArgs(); |
+ ~PpapiNaClChannelArgs(); |
+ |
+ bool off_the_record; |
+ PpapiPermissions permissions; |
+ |
+ // Switches from the command-line. |
+ std::vector<std::string> switch_names; |
+ std::vector<std::string> switch_values; |
+}; |
+ |
+} // namespace ppapi |
+ |
+#endif // PPAPI_SHARED_IMPL_PPAPI_CREATE_NACL_CHANNEL_ARGS_H |