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

Unified Diff: chrome/android/testshell/testshell_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
Index: chrome/android/testshell/testshell_stubs.cc
diff --git a/chrome/android/testshell/testshell_stubs.cc b/chrome/android/testshell/testshell_stubs.cc
index aec1d7b0d26e9a08c6d766aeec437291ebdbccc7..71ec017e8d12923dabba696903ed30142ad830fe 100644
--- a/chrome/android/testshell/testshell_stubs.cc
+++ b/chrome/android/testshell/testshell_stubs.cc
@@ -3,10 +3,7 @@
// found in the LICENSE file.
#include "base/strings/string16.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"
@@ -17,38 +14,6 @@
class InfoBarService;
-// 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/android/java/strings/android_chrome_strings.grd ('k') | chrome/browser/android/chrome_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698