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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/BrowserVersion.java

Issue 619773002: Remove ToS strings on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | chrome/app/resources/locale_settings.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/BrowserVersion.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/BrowserVersion.java b/chrome/android/java/src/org/chromium/chrome/browser/BrowserVersion.java
index 36f74ca8c3678a7e7ed0f5db04e5e455db9401b5..cd332ef162947875b2f50cf111be4e79fa9f1597 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/BrowserVersion.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/BrowserVersion.java
@@ -11,27 +11,12 @@ package org.chromium.chrome.browser;
public class BrowserVersion {
/**
* Check if the browser was built as an "official" build.
+ *
+ * This function depends on the native library being loaded; calling it before then will crash.
*/
public static boolean isOfficialBuild() {
return nativeIsOfficialBuild();
}
- /**
- * Only native code can see the OFFICIAL_BUILD flag; check it from there. This function is
- * not handled by initialize() and is not available early in startup (before the native
- * library has loaded). Calling it before that point will result in an exception.
- */
private static native boolean nativeIsOfficialBuild();
-
- /**
- * Get the HTML for the terms of service to be displayed at first run.
- */
- public static String getTermsOfServiceHtml() {
- return nativeGetTermsOfServiceHtml();
- }
-
- /**
- * The terms of service are a native resource.
- */
- private static native String nativeGetTermsOfServiceHtml();
}
« no previous file with comments | « no previous file | chrome/app/resources/locale_settings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698