Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2382)

Unified Diff: chrome/browser/component_updater/crx_downloader.h

Issue 118703008: Merge 241734 "Added support for multiple urls in the component u..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/src/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/component_updater/crx_downloader.h
===================================================================
--- chrome/browser/component_updater/crx_downloader.h (revision 242136)
+++ chrome/browser/component_updater/crx_downloader.h (working copy)
@@ -82,11 +82,11 @@
virtual ~CrxDownloader();
// Starts the download. One instance of the class handles one download only.
- // Returns true if success or false in case of errors. One instance of
- // CrxDownloader can only be started once, otherwise the behavior is
- // undefined.
- bool StartDownloadFromUrl(const GURL& url);
- bool StartDownload(const std::vector<GURL>& urls);
+ // One instance of CrxDownloader can only be started once, otherwise the
+ // behavior is undefined. The callback gets invoked if the download can't
+ // be started.
+ void StartDownloadFromUrl(const GURL& url);
+ void StartDownload(const std::vector<GURL>& urls);
const std::vector<DownloadMetrics> download_metrics() const;
« no previous file with comments | « chrome/browser/component_updater/component_updater_utils.cc ('k') | chrome/browser/component_updater/crx_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698