Index: chrome/browser/extensions/extension_menu_manager.cc |
diff --git a/chrome/browser/extensions/extension_menu_manager.cc b/chrome/browser/extensions/extension_menu_manager.cc |
index 6e8736422c00506bdb7fc9b83a9ef6e692f4ce1a..71f24b7dd84843b0b5404d1ad9c9f05665c1af23 100644 |
--- a/chrome/browser/extensions/extension_menu_manager.cc |
+++ b/chrome/browser/extensions/extension_menu_manager.cc |
@@ -92,9 +92,6 @@ void ExtensionMenuItem::AddChild(ExtensionMenuItem* item) { |
children_.push_back(item); |
} |
-const int ExtensionMenuManager::kAllowedSchemes = |
- URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS; |
- |
ExtensionMenuManager::ExtensionMenuManager() { |
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED, |
NotificationService::AllSources()); |
@@ -469,12 +466,6 @@ const SkBitmap& ExtensionMenuManager::GetIconForExtension( |
return icon_manager_.GetIcon(extension_id); |
} |
-// static |
-bool ExtensionMenuManager::HasAllowedScheme(const GURL& url) { |
- URLPattern pattern(kAllowedSchemes); |
- return pattern.SetScheme(url.scheme()); |
-} |
- |
ExtensionMenuItem::Id::Id() |
: profile(NULL), uid(0) { |
} |