Index: components/infobars/core/infobar_delegate.h |
diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h |
index b6d63ac056c8668987d1bad1c0e7475da252a14f..10cb34cfd31f5ccb171ab295011c36880b07de41 100644 |
--- a/components/infobars/core/infobar_delegate.h |
+++ b/components/infobars/core/infobar_delegate.h |
@@ -19,7 +19,10 @@ class RegisterProtocolHandlerInfoBarDelegate; |
class ScreenCaptureInfoBarDelegate; |
class ThemeInstalledInfoBarDelegate; |
class ThreeDAPIInfoBarDelegate; |
+ |
+namespace translate { |
class TranslateInfoBarDelegate; |
+} |
namespace gfx { |
class Image; |
@@ -111,7 +114,7 @@ class InfoBarDelegate { |
AsRegisterProtocolHandlerInfoBarDelegate(); |
virtual ScreenCaptureInfoBarDelegate* AsScreenCaptureInfoBarDelegate(); |
virtual ThemeInstalledInfoBarDelegate* AsThemePreviewInfobarDelegate(); |
- virtual TranslateInfoBarDelegate* AsTranslateInfoBarDelegate(); |
+ virtual translate::TranslateInfoBarDelegate* AsTranslateInfoBarDelegate(); |
void set_infobar(InfoBar* infobar) { infobar_ = infobar; } |