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..e923f1858796be0fd916a2b6a07142ca489bd8f9 100644 |
--- a/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h |
+++ b/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h |
@@ -35,9 +35,8 @@ 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; |
+ static bool IsValidUrl(const GURL& url); |
nasko
2015/05/14 17:00:41
static methods should be declared at the beginning
|
// Starts to track a navigation in |frame_host| to |url|. |
void StartTrackingNavigation(content::RenderFrameHost* frame_host, |