This source file includes following definitions.
- CopyNaClCommandLineArguments
#include "base/base_switches.h"
#include "base/basictypes.h"
#include "base/command_line.h"
#include "components/nacl/common/nacl_switches.h"
#include "content/public/common/content_switches.h"
namespace nacl {
void CopyNaClCommandLineArguments(CommandLine* cmd_line) {
const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess();
static const char* const kSwitchNames[] = {
switches::kNoSandbox,
switches::kDisableBreakpad,
switches::kFullMemoryCrashReport,
switches::kEnableLogging,
switches::kDisableLogging,
switches::kLoggingLevel,
switches::kNoErrorDialogs,
#if defined(OS_MACOSX)
switches::kEnableSandboxLogging,
#endif
};
cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
arraysize(kSwitchNames));
}
}