Index: chrome/browser/extensions/api/web_navigation/frame_navigation_state.h |
diff --git a/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h b/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h |
index 2e4a30096c985bd0603ea12065c95a1a45c3dc95..3751870403f89aae4104a80d0c984ce6d7907f5a 100644 |
--- a/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h |
+++ b/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h |
@@ -28,6 +28,9 @@ class FrameNavigationState { |
FrameNavigationState(); |
~FrameNavigationState(); |
+ // True if in general webNavigation events may be sent for the given URL. |
+ static bool IsValidUrl(const GURL& url); |
+ |
// Use these to iterate over all frame hosts known by this object. |
const_iterator begin() const { return frame_hosts_.begin(); } |
const_iterator end() const { return frame_hosts_.end(); } |
@@ -35,10 +38,6 @@ class FrameNavigationState { |
// True if navigation events for the given frame can be sent. |
bool CanSendEvents(content::RenderFrameHost* frame_host) const; |
- // TODO(dcheng): This should be static. |
- // True if in general webNavigation events may be sent for the given URL. |
- bool IsValidUrl(const GURL& url) const; |
- |
// Starts to track a navigation in |frame_host| to |url|. |
void StartTrackingNavigation(content::RenderFrameHost* frame_host, |
const GURL& url, |