| 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();
|
| }
|
|
|