Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3002)

Unified Diff: chrome/browser/managed_mode/managed_mode_navigation_observer.h

Issue 240193003: Move Infobars core files to the Infobars component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nib name on mac Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/managed_mode/managed_mode_navigation_observer.h
diff --git a/chrome/browser/managed_mode/managed_mode_navigation_observer.h b/chrome/browser/managed_mode/managed_mode_navigation_observer.h
index d72e5e17013a7b7b9c3d8971e26ee8d0c3643d1f..4a484d75b14afb61ce7b294d4c26168c6f0e00f3 100644
--- a/chrome/browser/managed_mode/managed_mode_navigation_observer.h
+++ b/chrome/browser/managed_mode/managed_mode_navigation_observer.h
@@ -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_;

Powered by Google App Engine
This is Rietveld 408576698