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

Unified Diff: chrome/common/extensions/extension_set.cc

Issue 8789018: Revert 113047 - Make ExtensionService use ExtensionSet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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/common/extensions/extension_set.h ('k') | chrome/renderer/extensions/extension_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_set.cc
===================================================================
--- chrome/common/extensions/extension_set.cc (revision 113069)
+++ chrome/common/extensions/extension_set.cc (working copy)
@@ -29,10 +29,6 @@
return extensions_.size();
}
-bool ExtensionSet::is_empty() const {
- return extensions_.empty();
-}
-
bool ExtensionSet::Contains(const std::string& extension_id) const {
return extensions_.find(extension_id) != extensions_.end();
}
@@ -45,11 +41,7 @@
extensions_.erase(id);
}
-void ExtensionSet::Clear() {
- extensions_.clear();
-}
-
-std::string ExtensionSet::GetIDByURL(const ExtensionURLInfo& info) const {
+std::string ExtensionSet::GetIdByURL(const ExtensionURLInfo& info) const {
DCHECK(!info.origin().isNull());
if (info.url().SchemeIs(chrome::kExtensionScheme))
Property changes on: chrome/common/extensions/extension_set.cc
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « chrome/common/extensions/extension_set.h ('k') | chrome/renderer/extensions/extension_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698