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

Unified Diff: chrome/browser/android/tab_android_test_stubs.cc

Issue 24109002: [InfoBar] Upstram basic infobar flow for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@upstream_infobar_full
Patch Set: Fix License header in two more files Created 7 years, 3 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
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/ui/android/infobar/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/tab_android_test_stubs.cc
diff --git a/chrome/browser/android/tab_android_test_stubs.cc b/chrome/browser/android/tab_android_test_stubs.cc
index 0e3dc372fdda7f00a23a39e29b448afed237c9fc..54c6f5fa0bfc5b9efa6434c1b2947b197ce3ab38 100644
--- a/chrome/browser/android/tab_android_test_stubs.cc
+++ b/chrome/browser/android/tab_android_test_stubs.cc
@@ -6,45 +6,10 @@
// needed to compile some tests.
#include "chrome/browser/android/tab_android.h"
-#include "chrome/browser/infobars/confirm_infobar_delegate.h"
#include "chrome/browser/translate/translate_infobar_delegate.h"
-#include "chrome/browser/ui/auto_login_infobar_delegate.h"
-#include "chrome/browser/ui/auto_login_infobar_delegate_android.h"
#include "printing/printing_context.h"
#include "printing/printing_context_android.h"
-// AutoLoginInfoBarDelegatAndroid empty implementation for test_shell.
-// TODO(miguelg) remove once the AutoLoginInfoBar is upstreamed.
-AutoLoginInfoBarDelegateAndroid::AutoLoginInfoBarDelegateAndroid(
- InfoBarService* owner,
- const AutoLoginInfoBarDelegate::Params& params)
- : AutoLoginInfoBarDelegate(owner, params), params_() {}
-
-AutoLoginInfoBarDelegateAndroid::~AutoLoginInfoBarDelegateAndroid() {}
-
-bool AutoLoginInfoBarDelegateAndroid::Accept() {
- return false;
-}
-
-bool AutoLoginInfoBarDelegateAndroid::Cancel() {
- return false;
-}
-
-base::string16 AutoLoginInfoBarDelegateAndroid::GetMessageText() const {
- return base::string16();
-}
-
-// static
-bool AutoLoginInfoBarDelegateAndroid::Register(JNIEnv* env) {
- return false;
-}
-
-// static
-InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarService* owner) {
- NOTREACHED() << "ConfirmInfoBar: InfoBarFactory should be used on Android";
- return NULL;
-}
-
// static
InfoBar* TranslateInfoBarDelegate::CreateInfoBar(InfoBarService* owner) {
return NULL;
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/ui/android/infobar/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698