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

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

Issue 8542001: Insert default stylesheet for platform apps. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 1 month 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
Index: chrome/common/extensions/extension_set.cc
diff --git a/chrome/common/extensions/extension_set.cc b/chrome/common/extensions/extension_set.cc
index 105420bc9605d368c96f8fae11fa6f772e158342..9d2df15c13d9b6ecb177a9c2cb6be19f4b04e6f7 100644
--- a/chrome/common/extensions/extension_set.cc
+++ b/chrome/common/extensions/extension_set.cc
@@ -29,6 +29,10 @@ void ExtensionSet::Remove(const std::string& id) {
extensions_.erase(id);
}
+void ExtensionSet::Clear() {
+ extensions_.clear();
+}
+
std::string ExtensionSet::GetIdByURL(const GURL& url) const {
if (url.SchemeIs(chrome::kExtensionScheme))
return url.host();

Powered by Google App Engine
This is Rietveld 408576698