tools/bisect-builds.py
def GetDownloadURL(self, revision):
    """Gets the download URL for a build archive of a specific revision."""
    if self.is_asan:
      return '%s/%s-%s/%s-%d.zip' % (
          ASAN_BASE_URL, self.GetASANPlatformDir(), self.build_type,
          self.GetASANBaseName(), revision)
    if str(revision) in self.githash_svn_dict:
      revision = self.githash_svn_dict[str(revision)]
    archive_name = self.archive_name

    # At revision 591483, the names of two of the archives changed
    # due to: https://chromium-review.googlesource.com/#/q/1226086
    # See: http://crbug.com/789612
    if revision >= 591483:
      if self.platform == 'chromeos':
        archive_name = 'chrome-chromeos.zip'
      elif self.platform in ('win', 'win64'):
        archive_name = 'chrome-win.zip'

    return '%s/%s%s/%s' % (self.base_url, self._listing_platform_dir,
                           revision, archive_name)
Gets the download URL for a build archive of a specific revision.
Gets the download URL for a build archive of a specific revision.
Gets the download URL for a build archive of a specific revision .
def GetDownloadURL(self, revision):
    if self.is_asan:
      return '%s/%s-%s/%s-%d.zip' % (
          ASAN_BASE_URL, self.GetASANPlatformDir(), self.build_type,
          self.GetASANBaseName(), revision)
    if str(revision) in self.githash_svn_dict:
      revision = self.githash_svn_dict[str(revision)]
    archive_name = self.archive_name
    if revision >= 591483:
      if self.platform == 'chromeos':
        archive_name = 'chrome-chromeos.zip'
      elif self.platform in ('win', 'win64'):
        archive_name = 'chrome-win.zip'
    return '%s/%s%s/%s' % (self.base_url, self._listing_platform_dir,
                           revision, archive_name)
def GetDownloadURL ( self , revision ) : if self . is_asan : return '%s/%s-%s/%s-%d.zip' % ( ASAN_BASE_URL , self . GetASANPlatformDir ( ) , self . build_type , self . GetASANBaseName ( ) , revision ) if str ( revision ) in self . githash_svn_dict : revision = self . githash_svn_dict [ str ( revision ) ] archive_name = self . archive_name if revision >= 591483 : if self . platform == 'chromeos' : archive_name = 'chrome-chromeos.zip' elif self . platform in ( 'win' , 'win64' ) : archive_name = 'chrome-win.zip' return '%s/%s%s/%s' % ( self . base_url , self . _listing_platform_dir , revision , archive_name )
Gets the download URL for a build archive of a specific revision.
Gets the download URL for a build archive of a specific revision .
"""Gets the download URL for a build archive of a specific revision.""" # At revision 591483, the names of two of the archives changed # due to: https://chromium-review.googlesource.com/#/q/1226086 # See: http://crbug.com/789612
self
revision