Fix the comments to CefCommandLine::AppendSwitch methods

This commit is contained in:
Sergey Markelov 2023-01-12 04:56:26 +00:00 committed by Marshall Greenblatt
parent aae420aa8b
commit 4f336c110b
2 changed files with 7 additions and 7 deletions

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for
// more information.
//
// $hash=1d0a15624fec8ca8bd1a5cdf7195b9b553dde44f$
// $hash=ac8fd3a7da20cff1fe2f20a75b045bf27c0312f2$
//
#ifndef CEF_INCLUDE_CAPI_CEF_COMMAND_LINE_CAPI_H_
@ -159,14 +159,14 @@ typedef struct _cef_command_line_t {
cef_string_map_t switches);
///
/// Add a switch to the end of the command line. If the switch has no value
/// pass an NULL value string.
/// Add a switch to the end of the command line.
///
void(CEF_CALLBACK* append_switch)(struct _cef_command_line_t* self,
const cef_string_t* name);
///
/// Add a switch with the specified value to the end of the command line.
/// Add a switch with the specified value to the end of the command line. If
/// the switch has no value pass an NULL value string.
///
void(CEF_CALLBACK* append_switch_with_value)(struct _cef_command_line_t* self,
const cef_string_t* name,

View File

@ -168,14 +168,14 @@ class CefCommandLine : public virtual CefBaseRefCounted {
virtual void GetSwitches(SwitchMap& switches) = 0;
///
/// Add a switch to the end of the command line. If the switch has no value
/// pass an empty value string.
/// Add a switch to the end of the command line.
///
/*--cef()--*/
virtual void AppendSwitch(const CefString& name) = 0;
///
/// Add a switch with the specified value to the end of the command line.
/// Add a switch with the specified value to the end of the command line. If
/// the switch has no value pass an empty value string.
///
/*--cef()--*/
virtual void AppendSwitchWithValue(const CefString& name,