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

Unified Diff: chrome/browser/extensions/extension_disabled_infobar_delegate.cc

Issue 501085: Merge 34812 - Add the rightclick context menu for Browser actions and Page Ac... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: Created 11 years 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
« no previous file with comments | « chrome/browser/extensions/crx_installer.cc ('k') | chrome/browser/extensions/extensions_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_disabled_infobar_delegate.cc
===================================================================
--- chrome/browser/extensions/extension_disabled_infobar_delegate.cc (revision 34849)
+++ chrome/browser/extensions/extension_disabled_infobar_delegate.cc (working copy)
@@ -6,7 +6,6 @@
#include "app/l10n_util.h"
#include "chrome/browser/chrome_thread.h"
-#include "chrome/browser/extensions/crx_installer.h"
#include "chrome/browser/extensions/extension_file_util.h"
#include "chrome/browser/extensions/extension_install_ui.h"
#include "chrome/browser/extensions/extensions_service.h"
@@ -55,7 +54,8 @@
void Start() {
// We start on the file thread so we can decode the install icon.
FilePath install_icon_path = install_icon_resource_.GetFilePath();
- CrxInstaller::DecodeInstallIcon(install_icon_path, &install_icon_);
+ Extension::DecodeIconFromPath(
+ install_icon_path, Extension::EXTENSION_ICON_LARGE, &install_icon_);
// Then we display the UI on the UI thread.
ChromeThread::PostTask(
ChromeThread::UI, FROM_HERE,
« no previous file with comments | « chrome/browser/extensions/crx_installer.cc ('k') | chrome/browser/extensions/extensions_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698