diff options
| author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-15 21:50:01 +0000 |
|---|---|---|
| committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-15 21:50:01 +0000 |
| commit | 32fc4ff7d286f7a6ee80d969672cdadaa8d3e8d0 (patch) | |
| tree | c7e59d81962c173d61083003c07819c2805fd042 /chrome/browser/extensions/bundle_installer.h | |
| parent | 080245fa243e0c04ccea332660d3058f710a090c (diff) | |
| download | chromium_src-32fc4ff7d286f7a6ee80d969672cdadaa8d3e8d0.zip chromium_src-32fc4ff7d286f7a6ee80d969672cdadaa8d3e8d0.tar.gz chromium_src-32fc4ff7d286f7a6ee80d969672cdadaa8d3e8d0.tar.bz2 | |
Remove BrowserList::GetLastActive from extensions install dialog code by plumbing through the Browser window. In two places (file_manager_util.cc and download_crx_util.cc) there is no context so I left those with FindLastActiveWithProfile for now.
BUG=129187
Review URL: https://chromiumcodereview.appspot.com/10548057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/bundle_installer.h')
| -rw-r--r-- | chrome/browser/extensions/bundle_installer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/extensions/bundle_installer.h b/chrome/browser/extensions/bundle_installer.h index 168581e..05262a9 100644 --- a/chrome/browser/extensions/bundle_installer.h +++ b/chrome/browser/extensions/bundle_installer.h @@ -76,7 +76,7 @@ class BundleInstaller : public WebstoreInstallHelper::Delegate, typedef std::vector<Item> ItemList; - BundleInstaller(Profile* profile, const ItemList& items); + BundleInstaller(Browser* browser, const ItemList& items); // Returns true if the user has approved the bundle's permissions. bool approved() const { return approved_; } @@ -97,7 +97,6 @@ class BundleInstaller : public WebstoreInstallHelper::Delegate, // the specified |browser|. // Note: the |delegate| must stay alive until receiving the callback. void CompleteInstall(content::NavigationController* controller, - Browser* browser, Delegate* delegate); // We change the headings in the install prompt and installed bubble depending |
