Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3033)

Unified Diff: chrome/browser/ui/views/extensions/extension_installed_bubble.cc

Issue 11820041: Remove profile-keyed factory boilerplates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 51a6ff500e6a9fbdd149ecc79a76da885aa38ad6..e76468cac20dfe324e97d1effe281bc7bc8aa004 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"
@@ -279,8 +278,7 @@ class InstalledBubbleContent : public views::View,
bool GetKeybinding(extensions::Command* command) {
extensions::CommandService* command_service =
- extensions::CommandServiceFactory::GetForProfile(
- browser_->profile());
+ extensions::CommandService::Get(browser_->profile());
if (type_ == ExtensionInstalledBubble::BROWSER_ACTION) {
return command_service->GetBrowserActionCommand(
extension_id_,

Powered by Google App Engine
This is Rietveld 408576698