summaryrefslogtreecommitdiffstats
path: root/base/test
diff options
context:
space:
mode:
authorsatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-08 23:57:39 +0000
committersatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-08 23:57:39 +0000
commit11a17275506145bc0cddc9a33a90fc1788b03add (patch)
tree94deb594ec19086a6a95f43dea9fc9e9d3c763bb /base/test
parenta850452dd05b0bd1021c96220f0598e549c76233 (diff)
downloadchromium_src-11a17275506145bc0cddc9a33a90fc1788b03add.zip
chromium_src-11a17275506145bc0cddc9a33a90fc1788b03add.tar.gz
chromium_src-11a17275506145bc0cddc9a33a90fc1788b03add.tar.bz2
Enable building with a small set of JNI related files required for linking content_unittests.
These are necessary for future CLs such as http://codereview.chromium.org/9264014/ BUG=None TEST= Review URL: http://codereview.chromium.org/9358001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121093 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/test')
-rw-r--r--base/test/test_stub_android.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/base/test/test_stub_android.cc b/base/test/test_stub_android.cc
index 82e645e..bcc241d 100644
--- a/base/test/test_stub_android.cc
+++ b/base/test/test_stub_android.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -179,17 +179,8 @@ void InitAndroidTestStub() {
MessageLoop::InitMessagePumpForUIFactory(&CreateMessagePumpForUIStub);
}
-// TODO(michaelbai): The below DetachFromVM was added because we excluded the
-// jni_android.{h|cc} which require JNI to compile. Remove them when those 2
-// files added.
namespace base {
-namespace android {
-
-void DetachFromVM() {}
-
-} // namespace android
-
// TODO(michaelbai): The below MessagePumpForUI were added because we excluded
// message_pump_android.{h|cc} which require JNI to compile. Remove them when
// those 2 files added.