| OLD | NEW |
| 1 #!/usr/bin/python2.4 | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | |
| 3 # 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 |
| 4 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 5 | 4 |
| 6 """Does scraping for versions of Chrome from 0.1.101.0 up.""" | 5 """Does scraping for versions of Chrome from 0.1.101.0 up.""" |
| 7 | 6 |
| 8 from drivers import windowing | 7 from drivers import windowing |
| 9 | 8 |
| 10 import chromebase | 9 import chromebase |
| 11 | 10 |
| 12 # Default version | 11 # Default version |
| (...skipping 21 matching lines...) Expand all Loading... |
| 34 chromebase.GetChromeRenderPane = GetChromeRenderPane | 33 chromebase.GetChromeRenderPane = GetChromeRenderPane |
| 35 | 34 |
| 36 return chromebase.Scrape(urls, outdir, size, pos, timeout, kwargs) | 35 return chromebase.Scrape(urls, outdir, size, pos, timeout, kwargs) |
| 37 | 36 |
| 38 | 37 |
| 39 def Time(urls, size, timeout, **kwargs): | 38 def Time(urls, size, timeout, **kwargs): |
| 40 """Forwards the Time command to chromebase.""" | 39 """Forwards the Time command to chromebase.""" |
| 41 chromebase.GetChromeRenderPane = GetChromeRenderPane | 40 chromebase.GetChromeRenderPane = GetChromeRenderPane |
| 42 | 41 |
| 43 return chromebase.Time(urls, size, timeout, kwargs) | 42 return chromebase.Time(urls, size, timeout, kwargs) |
| 44 | |
| OLD | NEW |