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

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

Issue 10803010: Upstream TabAndroid abstract class. (Closed) Base URL: http://git.chromium.org/chromium/src.git@os_compat
Patch Set: Created 8 years, 5 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/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
new file mode 100644
index 0000000000000000000000000000000000000000..edfd4cd91aa90cab43923857b0fa64373512c528
--- /dev/null
+++ b/chrome/browser/android/tab_android_test_stubs.cc
@@ -0,0 +1,18 @@
+// 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.
+
+// This file contains stubs for some Chrome for Android specific code that is
+// needed to compile some tests.
+
+#include "chrome/browser/android/tab_android.h"
+
+// static
+TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) {
+ return NULL;
+}
+
+// static
+TabAndroid* TabAndroid::GetNativeTab(JNIEnv* env, jobject obj) {
+ return NULL;
+}

Powered by Google App Engine
This is Rietveld 408576698