ppapi_nacl_plugin_args.h revision 5d1f7b1de12d16ceb2c938c56701a3e8bfa558f7
1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef PPAPI_SHARED_IMPL_PPAPI_NACL_PLUGIN_ARGS_H 6#define PPAPI_SHARED_IMPL_PPAPI_NACL_PLUGIN_ARGS_H 7 8#include <string> 9#include <vector> 10 11#include "ppapi/shared_impl/ppapi_permissions.h" 12 13namespace ppapi { 14 15struct PPAPI_SHARED_EXPORT PpapiNaClPluginArgs { 16 public: 17 PpapiNaClPluginArgs(); 18 ~PpapiNaClPluginArgs(); 19 20 bool off_the_record; 21 PpapiPermissions permissions; 22 bool supports_dev_channel; 23 24 // Switches from the command-line. 25 std::vector<std::string> switch_names; 26 std::vector<std::string> switch_values; 27}; 28 29} // namespace ppapi 30 31#endif // PPAPI_SHARED_IMPL_PPAPI_NACL_PLUGIN_ARGS_H 32