OLD | NEW |
---|---|
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PPAPI_SHARED_IMPL_PPAPI_CREATE_NACL_CHANNEL_ARGS_H | 5 #ifndef PPAPI_SHARED_IMPL_PPAPI_INITIALIZE_NACL_DISPATCHER_ARGS_H |
6 #define PPAPI_SHARED_IMPL_PPAPI_CREATE_NACL_CHANNEL_ARGS_H | 6 #define PPAPI_SHARED_IMPL_PPAPI_INITIALIZE_NACL_DISPATCHER_ARGS_H |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "ppapi/shared_impl/ppapi_permissions.h" | 11 #include "ppapi/shared_impl/ppapi_permissions.h" |
12 | 12 |
13 namespace ppapi { | 13 namespace ppapi { |
14 | 14 |
15 struct PPAPI_SHARED_EXPORT PpapiNaClChannelArgs { | 15 struct PPAPI_SHARED_EXPORT PpapiInitializeNaClDispatcherArgs { |
Mark Seaborn
2014/02/04 19:28:12
FWIW, I don't think you need to rename this struct
hidehiko
2014/02/05 06:30:16
Good point. Actually I just followed the code arou
| |
16 public: | 16 public: |
17 PpapiNaClChannelArgs(); | 17 PpapiInitializeNaClDispatcherArgs(); |
18 ~PpapiNaClChannelArgs(); | 18 ~PpapiInitializeNaClDispatcherArgs(); |
19 | 19 |
20 bool off_the_record; | 20 bool off_the_record; |
21 PpapiPermissions permissions; | 21 PpapiPermissions permissions; |
22 bool supports_dev_channel; | 22 bool supports_dev_channel; |
23 | 23 |
24 // Switches from the command-line. | 24 // Switches from the command-line. |
25 std::vector<std::string> switch_names; | 25 std::vector<std::string> switch_names; |
26 std::vector<std::string> switch_values; | 26 std::vector<std::string> switch_values; |
27 }; | 27 }; |
28 | 28 |
29 } // namespace ppapi | 29 } // namespace ppapi |
30 | 30 |
31 #endif // PPAPI_SHARED_IMPL_PPAPI_CREATE_NACL_CHANNEL_ARGS_H | 31 #endif // PPAPI_SHARED_IMPL_PPAPI_INITIALIZE_NACL_DISPATCHER_ARGS_H |
OLD | NEW |