parameters: (self, file_base, body_code)
return_statement: return c
docstring: Generates a code.Code object for a header file
  
      Parameters:
      - |file_base| - the base of the filename, e.g. 'foo' (for 'foo.h')
      - |body_code| - the code to put in between the multiple inclusion guards
docstring_summary: Generates a code.Code object for a header file
docstring_tokens: Generates a code . Code object for a header file
function: def _GenerateHeader(self, file_base, body_code):
      """Generates a code.Code object for a header file
  
      Parameters:
      - |file_base| - the base of the filename, e.g. 'foo' (for 'foo.h')
      - |body_code| - the code to put in between the multiple inclusion guards"""
      c = code.Code()
      c.Append(cpp_util.CHROMIUM_LICENSE)
      c.Append()
      c.Append(cpp_util.GENERATED_BUNDLE_FILE_MESSAGE % self._source_file_dir)
      ifndef_name = cpp_util.GenerateIfndefName(self._source_file_dir, file_base)
      c.Append()
      c.Append('#ifndef %s' % ifndef_name)
      c.Append('#define %s' % ifndef_name)
      c.Append()
      c.Concat(body_code)
      c.Append()
      c.Append('#endif  // %s' % ifndef_name)
      c.Append()
      return c
function_tokens: def _GenerateHeader ( self , file_base , body_code ) : c = code . Code ( ) c . Append ( cpp_util . CHROMIUM_LICENSE ) c . Append ( ) c . Append ( cpp_util . GENERATED_BUNDLE_FILE_MESSAGE % self . _source_file_dir ) ifndef_name = cpp_util . GenerateIfndefName ( self . _source_file_dir , file_base ) c . Append ( ) c . Append ( '#ifndef %s' % ifndef_name ) c . Append ( '#define %s' % ifndef_name ) c . Append ( ) c . Concat ( body_code ) c . Append ( ) c . Append ( '#endif  // %s' % ifndef_name ) c . Append ( ) return c