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

Unified Diff: chrome/browser/memory_details.cc

Issue 8827013: Move/replace/rename URL-based extension getters from ExtensionService to/in ExtensionSet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: extent 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
Index: chrome/browser/memory_details.cc
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
index c06ed53ede94dc111ce5231eb72cb4ea5192f4b3..583e6809690d6d59583facaf97979a4afc84fc92 100644
--- a/chrome/browser/memory_details.cc
+++ b/chrome/browser/memory_details.cc
@@ -232,8 +232,8 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
TabContents* contents = host_delegate->GetAsTabContents();
if (!contents) {
if (extension_process_map->Contains(host->process()->GetID())) {
- const Extension* extension =
- extension_service->GetExtensionByURL(url);
+ const Extension* extension = extension_service->extensions()->
+ GetByURL(ExtensionURLInfo(url));
if (extension) {
string16 title = UTF8ToUTF16(extension->name());
process.titles.push_back(title);

Powered by Google App Engine
This is Rietveld 408576698