Index: chrome/browser/ui/android/infobar_stubs.cc |
diff --git a/chrome/browser/ui/android/infobar_stubs.cc b/chrome/browser/ui/android/infobar_stubs.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7eaf6f3d8aeca2fd57365a8c77904905192c4160 |
--- /dev/null |
+++ b/chrome/browser/ui/android/infobar_stubs.cc |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "base/logging.h" |
+#include "chrome/browser/extensions/extension_infobar_delegate.h" |
+#include "chrome/browser/tab_contents/confirm_infobar_delegate.h" |
+ |
+// Infobars are implemented in Java on Android. |
+ |
+InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) { |
+ NOTIMPLEMENTED(); |
+ return NULL; |
+} |
+ |
+InfoBar* ExtensionInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) { |
+ NOTIMPLEMENTED(); |
+ return NULL; |
+} |