| Index: chrome/browser/extensions/bundle_installer.h
|
| diff --git a/chrome/browser/extensions/bundle_installer.h b/chrome/browser/extensions/bundle_installer.h
|
| index dec681d946f76e3068ccc2664cd6e92998234ddc..1818041e29a178becfed8b5f954aa214056b87bd 100644
|
| --- a/chrome/browser/extensions/bundle_installer.h
|
| +++ b/chrome/browser/extensions/bundle_installer.h
|
| @@ -10,6 +10,7 @@
|
| #include <vector>
|
|
|
| #include "base/memory/linked_ptr.h"
|
| +#include "base/string16.h"
|
| #include "chrome/browser/extensions/extension_install_ui.h"
|
| #include "chrome/browser/extensions/webstore_installer.h"
|
| #include "chrome/browser/extensions/webstore_install_helper.h"
|
| @@ -96,6 +97,15 @@ class BundleInstaller : public WebstoreInstallHelper::Delegate,
|
| Browser* browser,
|
| Delegate* delegate);
|
|
|
| + // We change the headings in the install prompt and installed bubble depending
|
| + // on whether the bundle contains apps, extensions or both. This method gets
|
| + // the correct heading for the items in the specified |state|, or an empty
|
| + // string if no items are in the |state|.
|
| + // STATE_PENDING - install prompt
|
| + // STATE_INSTALLED - installed bubble successful installs list
|
| + // STATE_FAILED - installed bubble failed installs list
|
| + string16 GetHeadingTextFor(Item::State state) const;
|
| +
|
| private:
|
| friend class base::RefCountedThreadSafe<BundleInstaller>;
|
|
|
|
|