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

Unified Diff: base/android/build_info.cc

Issue 10753007: Switch base/ registrations to a static class method where appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « base/android/build_info.h ('k') | base/message_pump_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/build_info.cc
diff --git a/base/android/build_info.cc b/base/android/build_info.cc
index e05450873ed46d679d69a64eb4c07b106eac251c..e5860c0735effafd9a300d6d0d39608a44b11409 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);
}
« no previous file with comments | « base/android/build_info.h ('k') | base/message_pump_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698