summaryrefslogtreecommitdiffstats
path: root/chrome_frame/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/utils.h')
-rw-r--r--chrome_frame/utils.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome_frame/utils.h b/chrome_frame/utils.h
index 4492078..2e167d2 100644
--- a/chrome_frame/utils.h
+++ b/chrome_frame/utils.h
@@ -564,12 +564,12 @@ class ChromeFrameUrl {
std::string profile_name_;
};
+class NavigationConstraints;
// Returns true if we can navigate to this URL.
-// This function checks if the url scheme is valid for navigation within
-// chrome and whether it is a restricted URL as per IE settings. In either of
-// these cases it returns false.
-bool CanNavigate(const GURL& url, IInternetSecurityManager* security_manager,
- bool is_privileged);
+// These decisions are controlled by the NavigationConstraints object passed
+// in.
+bool CanNavigate(const GURL& url,
+ NavigationConstraints* navigation_constraints);
// Utility function that prevents the current module from ever being unloaded.
// Call if you make irreversible patches.