OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_NACL_COMMON_NACL_DELEGATE_H_ | |
6 #define COMPONENTS_NACL_COMMON_NACL_DELEGATE_H_ | |
7 | |
8 #include "build/build_config.h" | |
9 | |
10 namespace base { | |
11 class FilePath; | |
12 } | |
13 | |
14 class CommandLine; | |
15 | |
16 // This class encapsulates all the dependencies that nacl has on chrome | |
17 class NaClDelegate { | |
18 public: | |
19 NaClDelegate() {} | |
20 ~NaClDelegate() {} | |
21 | |
22 // Copy all the relevant arguments from the command line of the current | |
23 // process to cmd_line that will be used for launching the NaCl loader/broker. | |
24 void CopyNaClCommandLineArguments(CommandLine* cmd_line); | |
25 }; | |
26 | |
27 extern NaClDelegate* GetNaClDelegate(); | |
jam
2013/06/17 20:10:43
please see other delegates for other modules for e
yael.aharon1
2013/06/18 17:16:30
My problem here is that the only code from chrome
jam
2013/06/19 17:55:53
yes, i'm totally fine with not passing these two s
| |
28 | |
29 #endif // COMPONENTS_NACL_COMMON_NACL_DELEGATE_H_ | |
OLD | NEW |