parameters: (filename, histogram)
docstring: Logs a statement warning about a non-literal histogram name found in the
    Chromium source.
  
    Filters out known acceptable exceptions.
  
    Args:
      filename: The filename for the file containing the histogram, e.g.
                'chrome/browser/memory_details.cc'
      histogram: The expression that evaluates to the name of the histogram, e.g.
                 '"FakeHistogram" + variant'
  
    Returns:
      None
docstring_summary: Logs a statement warning about a non-literal histogram name found in the
    Chromium source.
docstring_tokens: Logs a statement warning about a non - literal histogram name found in the Chromium source .
function: def logNonLiteralHistogram(filename, histogram):
    """Logs a statement warning about a non-literal histogram name found in the
    Chromium source.
  
    Filters out known acceptable exceptions.
  
    Args:
      filename: The filename for the file containing the histogram, e.g.
                'chrome/browser/memory_details.cc'
      histogram: The expression that evaluates to the name of the histogram, e.g.
                 '"FakeHistogram" + variant'
  
    Returns:
      None
    """
    # Ignore histogram macros, which typically contain backslashes so that they
    # can be formatted across lines.
    if '\\' in histogram:
      return
  
    # Ignore histogram names that have been pulled out into C++ constants.
    if CONSTANT_REGEX.match(histogram):
      return
  
    # TODO(isherman): This is still a little noisy... needs further filtering to
    # reduce the noise.
    logging.warning('%s contains non-literal histogram name <%s>', filename,
                    histogram)
function_tokens: def logNonLiteralHistogram ( filename , histogram ) : # Ignore histogram macros, which typically contain backslashes so that they # can be formatted across lines. if '\\' in histogram : return # Ignore histogram names that have been pulled out into C++ constants. if CONSTANT_REGEX . match ( histogram ) : return # TODO(isherman): This is still a little noisy... needs further filtering to # reduce the noise. logging . warning ( '%s contains non-literal histogram name <%s>' , filename , histogram )