| Index: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
|
| index dedb9bb85bd460999d6c138e009c86565b7fa55c..2d3e9d65d8e46d821352033dcb59875e4ebee0ab 100644
|
| --- a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
|
| @@ -26,6 +26,7 @@
|
| #include "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h"
|
| #include "chrome/browser/ui/singleton_tabs.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| +#include "chrome/common/extensions/api/commands/commands_handler.h"
|
| #include "chrome/common/extensions/api/omnibox/omnibox_handler.h"
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -298,7 +299,7 @@ class ExtensionLoadedNotificationObserver
|
| extensions::CommandService* command_service =
|
| extensions::CommandServiceFactory::GetForProfile(browser_->profile());
|
| if (type_ == extension_installed_bubble::kPageAction) {
|
| - if (extension_->page_action_command() &&
|
| + if (CommandsInfo::GetPageActionCommand(extension_) &&
|
| command_service->GetPageActionCommand(
|
| extension_->id(),
|
| extensions::CommandService::ACTIVE_ONLY,
|
| @@ -315,7 +316,7 @@ class ExtensionLoadedNotificationObserver
|
| extensions::CommandService* command_service =
|
| extensions::CommandServiceFactory::GetForProfile(browser_->profile());
|
| if (type_ == extension_installed_bubble::kBrowserAction) {
|
| - if (extension_->browser_action_command() &&
|
| + if (CommandsInfo::GetBrowserActionCommand(extension_) &&
|
| command_service->GetBrowserActionCommand(
|
| extension_->id(),
|
| extensions::CommandService::ACTIVE_ONLY,
|
|
|