#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"
-class InfoBar;
class ManagedModeURLFilter;
class ManagedUserService;
class NavigationEntry;
}
+namespace infobars {
+class InfoBar;
+}
+
class ManagedModeNavigationObserver
: public content::WebContentsObserver,
public content::WebContentsUserData<ManagedModeNavigationObserver> {
const ManagedModeURLFilter* url_filter_;
// Owned by the InfoBarService, which has the same lifetime as this object.
- InfoBar* warn_infobar_;
+ infobars::InfoBar* warn_infobar_;
ScopedVector<const content::NavigationEntry> blocked_navigations_;