Index: chrome/android/testshell/testshell_stubs.cc |
diff --git a/chrome/android/testshell/testshell_stubs.cc b/chrome/android/testshell/testshell_stubs.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..717df43f7740f033ca618f060cf934eec9b50c48 |
--- /dev/null |
+++ b/chrome/android/testshell/testshell_stubs.cc |
@@ -0,0 +1,23 @@ |
+// 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 "chrome/browser/android/tab_android.h" |
+#include "chrome/browser/autofill/autofill_external_delegate.h" |
+ |
+// This file contains temporary stubs to allow the libtestshell target to |
+// compile. They will be removed once real implementations are |
+// written/upstreamed, or once other code is refactored to eliminate the |
+// need for them. |
+ |
+// static |
+TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) { |
+ return NULL; |
+} |
+ |
+// static |
+AutofillExternalDelegate* AutofillExternalDelegate::Create( |
+ TabContents* tab_contents, |
+ AutofillManager* manager) { |
+ return NULL; |
+} |