summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/ppapi_nacl_plugin_args.h
blob: 993131d3b09ed771bc98b9346bec42b3aeeb2c6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright 2014 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_NACL_PLUGIN_ARGS_H
#define PPAPI_SHARED_IMPL_PPAPI_NACL_PLUGIN_ARGS_H

#include <string>
#include <vector>

#include "ppapi/shared_impl/ppapi_permissions.h"

namespace ppapi {

struct PPAPI_SHARED_EXPORT PpapiNaClPluginArgs {
 public:
  PpapiNaClPluginArgs();
  ~PpapiNaClPluginArgs();

  bool off_the_record;
  PpapiPermissions permissions;
  bool supports_dev_channel;
  unsigned keepalive_throttle_interval_milliseconds;

  // Switches from the command-line.
  std::vector<std::string> switch_names;
  std::vector<std::string> switch_values;
};

}  // namespace ppapi

#endif  // PPAPI_SHARED_IMPL_PPAPI_NACL_PLUGIN_ARGS_H