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

Unified Diff: chrome/browser/ui/android/infobars/translate_infobar.h

Issue 378253002: Fix translate namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing android build errors 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: chrome/browser/ui/android/infobars/translate_infobar.h
diff --git a/chrome/browser/ui/android/infobars/translate_infobar.h b/chrome/browser/ui/android/infobars/translate_infobar.h
index d7e8441cf7ba71cbabb815884b6dc0b367b874b0..9209e5efb0cc500776d97ad7a478e7446af38c04 100644
--- a/chrome/browser/ui/android/infobars/translate_infobar.h
+++ b/chrome/browser/ui/android/infobars/translate_infobar.h
@@ -10,11 +10,14 @@
#include "chrome/browser/translate/chrome_translate_client.h"
#include "chrome/browser/ui/android/infobars/infobar_android.h"
+namespace translate {
class TranslateInfoBarDelegate;
+}
class TranslateInfoBar : public InfoBarAndroid {
public:
- explicit TranslateInfoBar(scoped_ptr<TranslateInfoBarDelegate> delegate);
+ explicit TranslateInfoBar(
+ scoped_ptr<translate::TranslateInfoBarDelegate> delegate);
virtual ~TranslateInfoBar();
// JNI methods specific to translate.
@@ -39,7 +42,7 @@ class TranslateInfoBar : public InfoBarAndroid {
void SetJavaDelegate(jobject delegate);
bool ShouldDisplayNeverTranslateInfoBarOnCancel();
- TranslateInfoBarDelegate* GetDelegate();
+ translate::TranslateInfoBarDelegate* GetDelegate();
base::android::ScopedJavaGlobalRef<jobject> java_translate_delegate_;
« no previous file with comments | « chrome/browser/translate/translate_service.cc ('k') | chrome/browser/ui/android/infobars/translate_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698