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

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

Issue 1150193004: Straighten up life cycle of native InfoBar pointers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed unrelated file Created 5 years, 6 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/account_chooser_infobar.h
diff --git a/chrome/browser/ui/android/infobars/account_chooser_infobar.h b/chrome/browser/ui/android/infobars/account_chooser_infobar.h
index 07b5abb3c4c2a34611f184881d49a7933b6caa73..b2d800c312ce01764668929b98461127a2d7f292 100644
--- a/chrome/browser/ui/android/infobars/account_chooser_infobar.h
+++ b/chrome/browser/ui/android/infobars/account_chooser_infobar.h
@@ -33,6 +33,8 @@ class AccountChooserInfoBar : public InfoBarAndroid {
JNIEnv* env) override;
void ProcessButton(int action, const std::string& action_value) override;
AccountChooserInfoBarDelegateAndroid* GetDelegate();
+ void SetJavaInfoBar(
+ const base::android::JavaRef<jobject>& java_info_bar) override;
DISALLOW_COPY_AND_ASSIGN(AccountChooserInfoBar);
};

Powered by Google App Engine
This is Rietveld 408576698