1ca12bfac764ba476d6cd062bf1dde12cc64c3f40Ben Murdoch// Copyright 2013 The Chromium Authors. All rights reserved.
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// found in the LICENSE file.
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
5ca12bfac764ba476d6cd062bf1dde12cc64c3f40Ben Murdoch#ifndef COMPONENTS_NACL_COMMON_NACL_CMD_LINE_H_
6ca12bfac764ba476d6cd062bf1dde12cc64c3f40Ben Murdoch#define COMPONENTS_NACL_COMMON_NACL_CMD_LINE_H_
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
8a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)namespace base {
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)class CommandLine;
10a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)}
115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)namespace nacl {
13a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)
14a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)// Copy all the relevant arguments from the command line of the current
15a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)// process to cmd_line that will be used for launching the NaCl loader/broker.
16a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)void CopyNaClCommandLineArguments(base::CommandLine* cmd_line);
17a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)
18a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)}  // namespace nacl
195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
20ca12bfac764ba476d6cd062bf1dde12cc64c3f40Ben Murdoch#endif  // COMPONENTS_NACL_COMMON_NACL_CMD_LINE_H_
21