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

Unified Diff: chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc

Issue 16625012: Remove ExtensionURLInfo, make security decisions in render process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address feedback Created 7 years, 5 months 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/browser/ui/browser.cc ('k') | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc
diff --git a/chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc b/chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc
index 6c064235b8ea8734c96d1e0b2c37519756ced267..9cd835dff44a90cdd33931d47127cd42b59225a3 100644
--- a/chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc
+++ b/chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc
@@ -23,7 +23,7 @@ string16 GetLabelTextForType(FullscreenExitBubbleType type,
const ExtensionSet* extensions = extension_service->extensions();
DCHECK(extensions);
const extensions::Extension* extension =
- extensions->GetExtensionOrAppByURL(ExtensionURLInfo(url));
+ extensions->GetExtensionOrAppByURL(url);
if (extension) {
host = UTF8ToUTF16(extension->name());
} else if (url.SchemeIs(extensions::kExtensionScheme)) {
@@ -130,4 +130,4 @@ void PermissionRequestedByType(FullscreenExitBubbleType type,
}
}
-} // namespace
+} // namespace fullscreen_bubble
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698