示例#1
0
void
LogAllowed(const char* aFunctionName, const wchar_t* aContext)
{
  if (sLogFunction) {
    LogAllowed(aFunctionName, base::WideToUTF8(aContext).c_str());
  }
}
示例#2
0
void
LogAllowed(const char* aFunctionName, const wchar_t* aContext,
           uint16_t aLength)
{
  if (sLogFunction) {
    LogAllowed(aFunctionName, WideToUTF8(std::wstring(aContext, aLength)).c_str());
  }
}
示例#3
0
void
LogAllowed(const char* aFunctionName, const wchar_t* aContext,
           uint16_t aLengthInBytes)
{
  if (sLogFunction) {
    LogAllowed(aFunctionName,
               base::WideToUTF8(std::wstring(aContext, aLengthInBytes / sizeof(wchar_t))).c_str());
  }
}