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

Unified Diff: base/android/build_info.h

Issue 10908271: Add package label to base::android::BuildInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « no previous file | base/android/build_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/build_info.h
diff --git a/base/android/build_info.h b/base/android/build_info.h
index 895bf61c544646c99fcc6aed3552046856decced..371407198793f0fb58c050406490c22019ee687c 100644
--- a/base/android/build_info.h
+++ b/base/android/build_info.h
@@ -15,7 +15,7 @@ namespace base {
namespace android {
// BuildInfo is a singleton class that stores android build and device
-// information. It will be called from Android specific java code and gets used
+// information. It will be called from Android specific code and gets used
// primarily in crash reporting.
// It is also used to store the last java exception seen during JNI.
@@ -63,6 +63,10 @@ class BuildInfo {
return package_version_name_;
}
+ const char* package_label() const {
+ return package_label_;
+ }
+
const char* java_exception_info() const {
return java_exception_info_;
}
@@ -87,6 +91,7 @@ class BuildInfo {
const char* const android_build_fp_;
const char* const package_version_code_;
const char* const package_version_name_;
+ const char* const package_label_;
// This is set via set_java_exception_info, not at constructor time.
const char* java_exception_info_;
« no previous file with comments | « no previous file | base/android/build_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698