Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / managed_mode / managed_mode_navigation_observer.h
index d72e5e1..4a484d7 100644 (file)
@@ -14,7 +14,6 @@
 #include "content/public/browser/web_contents_observer.h"
 #include "content/public/browser/web_contents_user_data.h"
 
-class InfoBar;
 class ManagedModeURLFilter;
 class ManagedUserService;
 
@@ -22,6 +21,10 @@ namespace content {
 class NavigationEntry;
 }
 
+namespace infobars {
+class InfoBar;
+}
+
 class ManagedModeNavigationObserver
     : public content::WebContentsObserver,
       public content::WebContentsUserData<ManagedModeNavigationObserver> {
@@ -68,7 +71,7 @@ class 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_;