refactor: move ChromiumDownloader under lib/ (#1554)

This patch:
- renames ChromiumDownloader into just Downloader (this is in
  preparation for different products download)
- moves Downloader from utils/ to lib/. This unifies all of the
  production-critical code in the lib/.

Drive-by: make Downloader a regular class.
This commit is contained in:
Andrey Lushnikov
2017-12-08 13:39:13 -08:00
committed by GitHub
parent 11d94525c8
commit 9a5086847c
6 changed files with 98 additions and 63 deletions

View File

@@ -21,6 +21,7 @@ const Message = require('../Message');
const EXCLUDE_CLASSES = new Set([
'Connection',
'Downloader',
'EmulationManager',
'FrameManager',
'Helper',