| Index: chrome/browser/ui/views/extensions/extension_installed_bubble.cc
|
| diff --git a/chrome/browser/ui/views/extensions/extension_installed_bubble.cc b/chrome/browser/ui/views/extensions/extension_installed_bubble.cc
|
| index e0ab37464d57e5baf03c324e8fbcfda33e08cb5b..25ea67669efd38df161ead5c63d98a7bc10229b3 100644
|
| --- a/chrome/browser/ui/views/extensions/extension_installed_bubble.cc
|
| +++ b/chrome/browser/ui/views/extensions/extension_installed_bubble.cc
|
| @@ -12,7 +12,6 @@
|
| #include "base/message_loop.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/extensions/api/commands/command_service.h"
|
| -#include "chrome/browser/extensions/api/commands/command_service_factory.h"
|
| #include "chrome/browser/extensions/extension_action.h"
|
| #include "chrome/browser/extensions/extension_action_manager.h"
|
| #include "chrome/browser/extensions/extension_install_ui.h"
|
| @@ -151,8 +150,7 @@ class InstalledBubbleContent : public views::View,
|
| switch (type_) {
|
| case ExtensionInstalledBubble::BROWSER_ACTION: {
|
| extensions::CommandService* command_service =
|
| - extensions::CommandServiceFactory::GetForProfile(
|
| - browser_->profile());
|
| + extensions::CommandService::Get(browser_->profile());
|
| extensions::Command browser_action_command;
|
| if (!command_service->GetBrowserActionCommand(
|
| extension->id(),
|
| @@ -180,8 +178,7 @@ class InstalledBubbleContent : public views::View,
|
| }
|
| case ExtensionInstalledBubble::PAGE_ACTION: {
|
| extensions::CommandService* command_service =
|
| - extensions::CommandServiceFactory::GetForProfile(
|
| - browser_->profile());
|
| + extensions::CommandService::Get(browser_->profile());
|
| extensions::Command page_action_command;
|
| if (!command_service->GetPageActionCommand(
|
| extension->id(),
|
|
|