summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/updater/extension_downloader.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/updater/extension_downloader.h')
-rw-r--r--chrome/browser/extensions/updater/extension_downloader.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/chrome/browser/extensions/updater/extension_downloader.h b/chrome/browser/extensions/updater/extension_downloader.h
index cbc138c..8dd1331 100644
--- a/chrome/browser/extensions/updater/extension_downloader.h
+++ b/chrome/browser/extensions/updater/extension_downloader.h
@@ -16,6 +16,7 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "base/version.h"
#include "chrome/browser/extensions/updater/extension_downloader_delegate.h"
#include "chrome/browser/extensions/updater/manifest_fetch_data.h"
#include "chrome/common/extensions/extension.h"
@@ -33,6 +34,14 @@ class URLRequestStatus;
namespace extensions {
+struct UpdateDetails {
+ UpdateDetails(const std::string& id, const Version& version);
+ ~UpdateDetails();
+
+ std::string id;
+ Version version;
+};
+
class ExtensionUpdaterTest;
// A class that checks for updates of a given list of extensions, and downloads
@@ -174,7 +183,7 @@ class ExtensionDownloader : public net::URLFetcherDelegate {
// Send a notification that an update was found for |id| that we'll
// attempt to download.
- void NotifyUpdateFound(const std::string& id);
+ void NotifyUpdateFound(const std::string& id, const std::string& version);
// The delegate that receives the crx files downloaded by the
// ExtensionDownloader, and that fills in optional ping and update url data.