OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """Downloads items from the Chromium continuous archive.""" | 5 """Downloads items from the Chromium continuous archive.""" |
6 | 6 |
7 import os | 7 import os |
8 import platform | 8 import platform |
9 import urllib | 9 import urllib |
10 | 10 |
11 import util | 11 import util |
12 | 12 |
13 CHROME_47_REVISION = '352825' | |
14 CHROME_48_REVISION = '359663' | 13 CHROME_48_REVISION = '359663' |
15 CHROME_49_REVISION = '369874' | 14 CHROME_49_REVISION = '369874' |
| 15 CHROME_50_REVISION = '377898' |
16 | 16 |
17 _SITE = 'http://commondatastorage.googleapis.com' | 17 _SITE = 'http://commondatastorage.googleapis.com' |
18 | 18 |
19 | 19 |
20 class Site(object): | 20 class Site(object): |
21 CONTINUOUS = _SITE + '/chromium-browser-continuous' | 21 CONTINUOUS = _SITE + '/chromium-browser-continuous' |
22 CHROMIUM_SNAPSHOT = _SITE + '/chromium-browser-snapshots' | 22 CHROMIUM_SNAPSHOT = _SITE + '/chromium-browser-snapshots' |
23 BLINK_SNAPSHOT = _SITE + '/chromium-webkit-snapshots' | 23 BLINK_SNAPSHOT = _SITE + '/chromium-webkit-snapshots' |
24 | 24 |
25 | 25 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 | 84 |
85 def GetLatestSnapshotVersion(): | 85 def GetLatestSnapshotVersion(): |
86 """Returns the latest revision of snapshot build.""" | 86 """Returns the latest revision of snapshot build.""" |
87 return GetLatestRevision(GetSnapshotDownloadSite()) | 87 return GetLatestRevision(GetSnapshotDownloadSite()) |
88 | 88 |
89 | 89 |
90 def GetSnapshotDownloadSite(): | 90 def GetSnapshotDownloadSite(): |
91 """Returns the site to download snapshot build according to the platform.""" | 91 """Returns the site to download snapshot build according to the platform.""" |
92 return Site.CHROMIUM_SNAPSHOT | 92 return Site.CHROMIUM_SNAPSHOT |
OLD | NEW |