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

Unified Diff: chrome/browser/extensions/component_loader.h

Issue 8598016: Fix leak in ComponentLoader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « no previous file | chrome/browser/extensions/component_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/component_loader.h
diff --git a/chrome/browser/extensions/component_loader.h b/chrome/browser/extensions/component_loader.h
index 8dca8a12e745afd681e4f5dc7bdeea283c797f9e..ec7726975f7ae09c1253f8025e5b8858396beb75 100644
--- a/chrome/browser/extensions/component_loader.h
+++ b/chrome/browser/extensions/component_loader.h
@@ -67,9 +67,7 @@ class ComponentLoader : public content::NotificationObserver {
DictionaryValue* ParseManifest(const std::string& manifest_contents) const;
// Clear the list of registered extensions.
- void ClearAllRegistered() {
- component_extensions_.clear();
- }
+ void ClearAllRegistered();
private:
// Information about a registered component extension.
« no previous file with comments | « no previous file | chrome/browser/extensions/component_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698