summaryrefslogtreecommitdiffstats
path: root/base/android/build_info.cc
diff options
context:
space:
mode:
authornileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-09 22:12:16 +0000
committernileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-09 22:12:16 +0000
commit4235468163d0c99b64d7f7f063b0fb0f4b367bd2 (patch)
tree49cd9d450b66af268410d0f26ccc69e131c2c6c3 /base/android/build_info.cc
parentd05c904f27ec3edcb3ab7099931b282dd76538ad (diff)
downloadchromium_src-4235468163d0c99b64d7f7f063b0fb0f4b367bd2.zip
chromium_src-4235468163d0c99b64d7f7f063b0fb0f4b367bd2.tar.gz
chromium_src-4235468163d0c99b64d7f7f063b0fb0f4b367bd2.tar.bz2
Switch base/ registrations to a static class method where appropriate.
BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10753007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145757 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/android/build_info.cc')
-rw-r--r--base/android/build_info.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/android/build_info.cc b/base/android/build_info.cc
index e054508..e5860c0 100644
--- a/base/android/build_info.cc
+++ b/base/android/build_info.cc
@@ -64,7 +64,8 @@ void BuildInfo::set_java_exception_info(const std::string& info) {
java_exception_info_ = strndup(info.c_str(), 1024);
}
-bool RegisterBuildInfo(JNIEnv* env) {
+// static
+bool BuildInfo::RegisterBindings(JNIEnv* env) {
return RegisterNativesImpl(env);
}