From eaa7dd18773869211fa0e19ed84392830c0978a8 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Tue, 14 Dec 2010 11:09:00 +0000 Subject: Rename ExtensionsService to ExtensionService. BUG=61409 TEST=trybots Review URL: http://codereview.chromium.org/5730004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69117 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/download/download_manager.cc | 2 +- chrome/browser/download/download_util.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'chrome/browser/download') diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc index 362a74d..076bf16 100644 --- a/chrome/browser/download/download_manager.cc +++ b/chrome/browser/download/download_manager.cc @@ -27,7 +27,7 @@ #include "chrome/browser/download/download_prefs.h" #include "chrome/browser/download/download_status_updater.h" #include "chrome/browser/download/download_util.h" -#include "chrome/browser/extensions/extensions_service.h" +#include "chrome/browser/extensions/extension_service.h" #include "chrome/browser/history/download_create_info.h" #include "chrome/browser/net/chrome_url_request_context.h" #include "chrome/browser/platform_util.h" diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc index 57a61a4..70514e3 100644 --- a/chrome/browser/download/download_util.cc +++ b/chrome/browser/download/download_util.cc @@ -33,7 +33,7 @@ #include "chrome/browser/download/download_manager.h" #include "chrome/browser/extensions/crx_installer.h" #include "chrome/browser/extensions/extension_install_ui.h" -#include "chrome/browser/extensions/extensions_service.h" +#include "chrome/browser/extensions/extension_service.h" #include "chrome/browser/history/download_create_info.h" #include "chrome/browser/net/chrome_url_request_context.h" #include "chrome/browser/profiles/profile.h" @@ -232,7 +232,7 @@ void OpenChromeExtension(Profile* profile, DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); DCHECK(download_item.is_extension_install()); - ExtensionsService* service = profile->GetExtensionsService(); + ExtensionService* service = profile->GetExtensionService(); CHECK(service); NotificationService* nservice = NotificationService::current(); GURL nonconst_download_url = download_item.url(); @@ -731,7 +731,7 @@ bool IsDangerous(DownloadCreateInfo* info, Profile* profile) { } else if (danger_level == AllowOnUserGesture && !info->has_user_gesture) { return true; } else if (info->is_extension_install) { - ExtensionsService* service = profile->GetExtensionsService(); + ExtensionService* service = profile->GetExtensionService(); if (!service || !service->IsDownloadFromGallery(info->url, info->referrer_url)) { // Extensions that are not from the gallery are considered dangerous. -- cgit v1.1