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

Unified Diff: chrome/common/extensions/extension_process_policy.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/common/extensions/extension_process_policy.h ('k') | chrome/common/extensions/extension_set.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_process_policy.cc
diff --git a/chrome/common/extensions/extension_process_policy.cc b/chrome/common/extensions/extension_process_policy.cc
index b38f3972f82bdf8a5ef0d698d956a0ceb92033db..cb938eea89f0faf8e1687bac0addd83e2f749e46 100644
--- a/chrome/common/extensions/extension_process_policy.cc
+++ b/chrome/common/extensions/extension_process_policy.cc
@@ -11,7 +11,7 @@
namespace extensions {
const extensions::Extension* GetNonBookmarkAppExtension(
- const ExtensionSet& extensions, const ExtensionURLInfo& url) {
+ const ExtensionSet& extensions, const GURL& url) {
// Exclude bookmark apps, which do not use the app process model.
const extensions::Extension* extension =
extensions.GetExtensionOrAppByURL(url);
@@ -22,8 +22,8 @@ const extensions::Extension* GetNonBookmarkAppExtension(
bool CrossesExtensionProcessBoundary(
const ExtensionSet& extensions,
- const ExtensionURLInfo& old_url,
- const ExtensionURLInfo& new_url,
+ const GURL& old_url,
+ const GURL& new_url,
bool should_consider_workaround) {
const extensions::Extension* old_url_extension = GetNonBookmarkAppExtension(
extensions,
« no previous file with comments | « chrome/common/extensions/extension_process_policy.h ('k') | chrome/common/extensions/extension_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698