summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/webstore_installer.h
diff options
context:
space:
mode:
authorjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 23:53:46 +0000
committerjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 23:53:46 +0000
commitf66a50a51caad37a29fd51eb26b14d96cc9f51eb (patch)
tree929cacefa5c3ca6a70c308f8f8859e5fdf82ea2f /chrome/browser/extensions/webstore_installer.h
parent47d2f41e5f17f1daab75668b742204d61fba014a (diff)
downloadchromium_src-f66a50a51caad37a29fd51eb26b14d96cc9f51eb.zip
chromium_src-f66a50a51caad37a29fd51eb26b14d96cc9f51eb.tar.gz
chromium_src-f66a50a51caad37a29fd51eb26b14d96cc9f51eb.tar.bz2
Adds a webstorePrivate method for silently installing extensions.
BUG=98687 TEST=*WebstorePrivate* Review URL: http://codereview.chromium.org/8430033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108367 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/webstore_installer.h')
-rw-r--r--chrome/browser/extensions/webstore_installer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/webstore_installer.h b/chrome/browser/extensions/webstore_installer.h
index c804355..ef2bbbc 100644
--- a/chrome/browser/extensions/webstore_installer.h
+++ b/chrome/browser/extensions/webstore_installer.h
@@ -15,6 +15,7 @@
#include "content/public/browser/notification_registrar.h"
#include "googleurl/src/gurl.h"
+class FilePath;
class NavigationController;
class Profile;
@@ -60,6 +61,9 @@ class WebstoreInstaller : public content::NotificationObserver,
const content::NotificationDetails& details) OVERRIDE;
private:
+ // Starts downloading the extension to |file_path|.
+ void StartDownload(FilePath file_path);
+
// Reports an install |error| to the delegate for the given extension if this
// managed its installation. This also removes the associated PendingInstall.
void ReportFailure(const std::string& error);