| Index: chrome/browser/background/background_contents_service.cc
|
| diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc
|
| index 3cfaeab88916d78989101bb4ff823d9274562ea9..909ef7aec71e823c95a0901379d936c7fcc4e74c 100644
|
| --- a/chrome/browser/background/background_contents_service.cc
|
| +++ b/chrome/browser/background/background_contents_service.cc
|
| @@ -37,6 +37,8 @@
|
|
|
| using content::SiteInstance;
|
| using content::WebContents;
|
| +using extensions::Extension;
|
| +using extensions::UnloadedExtensionInfo;
|
|
|
| namespace {
|
|
|
| @@ -55,7 +57,8 @@ void ScheduleCloseBalloon(const std::string& extension_id) {
|
|
|
| class CrashNotificationDelegate : public NotificationDelegate {
|
| public:
|
| - CrashNotificationDelegate(Profile* profile, const Extension* extension)
|
| + CrashNotificationDelegate(Profile* profile,
|
| + const Extension* extension)
|
| : profile_(profile),
|
| is_hosted_app_(extension->is_hosted_app()),
|
| extension_id_(extension->id()) {
|
| @@ -366,8 +369,8 @@ void BackgroundContentsService::LoadBackgroundContentsFromPrefs(
|
| for (DictionaryValue::key_iterator it = contents->begin_keys();
|
| it != contents->end_keys(); ++it) {
|
| // Check to make sure that the parent extension is still enabled.
|
| - const Extension* extension = extensions_service->GetExtensionById(
|
| - *it, false);
|
| + const Extension* extension = extensions_service->
|
| + GetExtensionById(*it, false);
|
| if (!extension) {
|
| // We should never reach here - it should not be possible for an app
|
| // to become uninstalled without the associated BackgroundContents being
|
|
|