parameters: (self, path)
return_statement: return self.RelPath(path, self.chromium_src_dir)
docstring: Returns a relative path from the top of the repo.
docstring_summary: Returns a relative path from the top of the repo.
docstring_tokens: Returns a relative path from the top of the repo .
function: def ToSrcRelPath(self, path):
      """Returns a relative path from the top of the repo."""
      if path.startswith('//'):
        return path[2:].replace('/', self.sep)
      return self.RelPath(path, self.chromium_src_dir)
function_tokens: def ToSrcRelPath ( self , path ) : if path . startswith ( '//' ) : return path [ 2 : ] . replace ( '/' , self . sep ) return self . RelPath ( path , self . chromium_src_dir )