From 0df165f0f1ea596434d547d9ef387a9fb486bb41 Mon Sep 17 00:00:00 2001 From: "erikkay@chromium.org" Date: Tue, 28 Sep 2010 16:49:40 +0000 Subject: Generalize permission types to make it safer for us to add new permissions and to know that we're handling installation and elevation warnings correctly. BUG=54151 BUG=54332 TEST=ExtensionTest.IsPrivilegeIncrease (and others) Review URL: http://codereview.chromium.org/3307010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60803 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/extensions/extension_install_ui.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/extensions/extension_install_ui.h') diff --git a/chrome/browser/extensions/extension_install_ui.h b/chrome/browser/extensions/extension_install_ui.h index 18481af..c5e0d81 100644 --- a/chrome/browser/extensions/extension_install_ui.h +++ b/chrome/browser/extensions/extension_install_ui.h @@ -11,6 +11,7 @@ #include "base/string16.h" #include "chrome/browser/extensions/image_loading_tracker.h" +#include "chrome/common/extensions/url_pattern.h" #include "gfx/native_widget_types.h" #include "third_party/skia/include/core/SkBitmap.h" @@ -19,7 +20,6 @@ class MessageLoop; class Profile; class InfoBarDelegate; class TabContents; -class URLPattern; // Displays all the UI around extension installation and uninstallation. class ExtensionInstallUI : public ImageLoadingTracker::Observer { @@ -54,7 +54,7 @@ class ExtensionInstallUI : public ImageLoadingTracker::Observer { // easy as possible to process by users. In particular we disregard the scheme // and path components of URLPatterns and de-dupe the result. static std::vector GetDistinctHostsForDisplay( - const std::vector& host_patterns); + const URLPatternList& host_patterns); explicit ExtensionInstallUI(Profile* profile); -- cgit v1.1