mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-28 09:57:50 +01:00
Send the kProductVersion flag to all processes (issue #1149).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1561 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
8a6530db1f
commit
21c8131742
@ -605,17 +605,18 @@ void CefContentBrowserClient::AppendExtraCommandLineSwitches(
|
|||||||
// Propagate the following switches to all command lines (along with any
|
// Propagate the following switches to all command lines (along with any
|
||||||
// associated values) if present in the browser command line.
|
// associated values) if present in the browser command line.
|
||||||
static const char* const kSwitchNames[] = {
|
static const char* const kSwitchNames[] = {
|
||||||
|
#if !defined(OS_WIN)
|
||||||
|
switches::kCrashDumpsDir,
|
||||||
|
#endif
|
||||||
|
switches::kDisablePackLoading,
|
||||||
|
switches::kEnableCrashReporter,
|
||||||
|
switches::kEnableReleaseDcheck,
|
||||||
switches::kLang,
|
switches::kLang,
|
||||||
switches::kLocalesDirPath,
|
switches::kLocalesDirPath,
|
||||||
switches::kLogFile,
|
switches::kLogFile,
|
||||||
switches::kLogSeverity,
|
switches::kLogSeverity,
|
||||||
switches::kEnableReleaseDcheck,
|
|
||||||
switches::kDisablePackLoading,
|
|
||||||
switches::kResourcesDirPath,
|
switches::kResourcesDirPath,
|
||||||
switches::kEnableCrashReporter,
|
switches::kProductVersion,
|
||||||
#if !defined(OS_WIN)
|
|
||||||
switches::kCrashDumpsDir,
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
command_line->CopySwitchesFrom(browser_cmd, kSwitchNames,
|
command_line->CopySwitchesFrom(browser_cmd, kSwitchNames,
|
||||||
arraysize(kSwitchNames));
|
arraysize(kSwitchNames));
|
||||||
@ -630,7 +631,6 @@ void CefContentBrowserClient::AppendExtraCommandLineSwitches(
|
|||||||
switches::kContextSafetyImplementation,
|
switches::kContextSafetyImplementation,
|
||||||
switches::kEnableMediaStream,
|
switches::kEnableMediaStream,
|
||||||
switches::kEnableSpeechInput,
|
switches::kEnableSpeechInput,
|
||||||
switches::kProductVersion,
|
|
||||||
switches::kUncaughtExceptionStackSize,
|
switches::kUncaughtExceptionStackSize,
|
||||||
};
|
};
|
||||||
command_line->CopySwitchesFrom(browser_cmd, kSwitchNames,
|
command_line->CopySwitchesFrom(browser_cmd, kSwitchNames,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user