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

Unified Diff: chrome/common/extensions/extension_process_policy.h

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_messages.h ('k') | chrome/common/extensions/extension_process_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_process_policy.h
diff --git a/chrome/common/extensions/extension_process_policy.h b/chrome/common/extensions/extension_process_policy.h
index 19ad254097fa456abe53807d05cd5939b8325ccb..7231c0f8ddec01ca870134e0720ef2920fffa946 100644
--- a/chrome/common/extensions/extension_process_policy.h
+++ b/chrome/common/extensions/extension_process_policy.h
@@ -6,7 +6,7 @@
#define CHROME_COMMON_EXTENSIONS_EXTENSION_PROCESS_POLICY_H_
class ExtensionSet;
-class ExtensionURLInfo;
+class GURL;
namespace extensions {
@@ -15,7 +15,7 @@ class Extension;
// Returns the extension for the given URL. Excludes extension objects for
// bookmark apps, which do not use the app process model.
const Extension* GetNonBookmarkAppExtension(const ExtensionSet& extensions,
- const ExtensionURLInfo& url);
+ const GURL& url);
// Check if navigating a toplevel page from |old_url| to |new_url| would cross
// an extension process boundary (e.g. navigating from a web URL into an
@@ -25,8 +25,8 @@ const Extension* GetNonBookmarkAppExtension(const ExtensionSet& extensions,
// http://crbug.com/59285.
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);
} // namespace extensions
« no previous file with comments | « chrome/common/extensions/extension_messages.h ('k') | chrome/common/extensions/extension_process_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698