diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-08 22:14:34 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-08 22:14:34 +0000 |
commit | 2098fc80beaf21ef93d7fe3e886d185ce871b423 (patch) | |
tree | b6b42db84ebb48f6bc8719e0980e7b27d98887a3 /chrome/browser/plugin_installer.h | |
parent | d12f1471a7d9a5d82de92990cf82e21957fdc3ff (diff) | |
download | chromium_src-2098fc80beaf21ef93d7fe3e886d185ce871b423.zip chromium_src-2098fc80beaf21ef93d7fe3e886d185ce871b423.tar.gz chromium_src-2098fc80beaf21ef93d7fe3e886d185ce871b423.tar.bz2 |
Back out r121057 from the trunk due to a compile failure.
http://build.chromium.org/p/chromium/builders/Win%20Aura/builds/5477/steps/compile/logs/stdio
Use PluginInstaller to update outdated plug-ins.
TBR=arv@chromium.org
BUG=92796
TEST=TBD
Review URL: http://codereview.chromium.org/9107038
TBR=bauerb@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9348073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_installer.h')
-rw-r--r-- | chrome/browser/plugin_installer.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/chrome/browser/plugin_installer.h b/chrome/browser/plugin_installer.h index a405354..6f76967 100644 --- a/chrome/browser/plugin_installer.h +++ b/chrome/browser/plugin_installer.h @@ -14,8 +14,8 @@ class FilePath; class PluginInstallerObserver; class WeakPluginInstallerObserver; -namespace content { -class WebContents; +namespace net { +class URLRequestContextGetter; } class PluginInstaller { @@ -57,14 +57,11 @@ class PluginInstaller { // URL to open when the user clicks on the "Problems installing?" link. const GURL& help_url() const { return help_url_; } - // Opens the download URL in a new tab. This method should only be called if - // |url_for_display| returns true. - void OpenDownloadURL(content::WebContents* web_contents); + void StartInstalling(net::URLRequestContextGetter* request_context); - // Starts downloading the download URL and opens the downloaded file - // when finished. This method should only be called if |url_for_display| - // returns false. - void StartInstalling(content::WebContents* web_contents); + // Called when the browser opened the download URL in a new tab, to notify + // observers. + void DidOpenDownloadURL(); private: void DidFinishDownload(const FilePath& downloaded_file); |