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

Unified Diff: components/infobars/core/infobar_delegate.h

Issue 378253002: Fix translate namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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: 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; }

Powered by Google App Engine
This is Rietveld 408576698