summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android/tab_android_test_stubs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/android/tab_android_test_stubs.cc')
-rw-r--r--chrome/browser/android/tab_android_test_stubs.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/android/tab_android_test_stubs.cc b/chrome/browser/android/tab_android_test_stubs.cc
index edfd4cd..238eb5c 100644
--- a/chrome/browser/android/tab_android_test_stubs.cc
+++ b/chrome/browser/android/tab_android_test_stubs.cc
@@ -6,6 +6,7 @@
// needed to compile some tests.
#include "chrome/browser/android/tab_android.h"
+#include "chrome/browser/api/infobars/confirm_infobar_delegate.h"
// static
TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) {
@@ -16,3 +17,9 @@ TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) {
TabAndroid* TabAndroid::GetNativeTab(JNIEnv* env, jobject obj) {
return NULL;
}
+
+// This is here temporaily till we add support for infobars upstream.
+// static
+InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarService* owner) {
+ return NULL;
+}