summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android/tab_android_test_stubs.cc
blob: 238eb5c1d4145122d115e6e5947d9bc3b906a915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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"
#include "chrome/browser/api/infobars/confirm_infobar_delegate.h"

// static
TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) {
  return NULL;
}

// static
TabAndroid* TabAndroid::GetNativeTab(JNIEnv* env, jobject obj) {
  return NULL;
}

// This is here temporaily till we add support for infobars upstream.
// static
InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarService* owner) {
  return NULL;
}