| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.content.browser; | 5 package org.chromium.content.browser; |
| 6 | 6 |
| 7 import android.content.Context; | 7 import android.content.Context; |
| 8 import android.os.Handler; | 8 import android.os.Handler; |
| 9 import android.util.Log; | 9 import android.util.Log; |
| 10 | 10 |
| 11 import com.google.common.annotations.VisibleForTesting; | 11 import com.google.common.annotations.VisibleForTesting; |
| 12 | 12 |
| 13 import org.chromium.base.CalledByNative; | 13 import org.chromium.base.CalledByNative; |
| 14 import org.chromium.base.JNINamespace; | 14 import org.chromium.base.JNINamespace; |
| 15 import org.chromium.base.ResourceExtractor; |
| 15 import org.chromium.base.ThreadUtils; | 16 import org.chromium.base.ThreadUtils; |
| 16 import org.chromium.base.library_loader.LibraryLoader; | 17 import org.chromium.base.library_loader.LibraryLoader; |
| 17 import org.chromium.base.library_loader.LoaderErrors; | 18 import org.chromium.base.library_loader.LoaderErrors; |
| 18 import org.chromium.base.library_loader.ProcessInitException; | 19 import org.chromium.base.library_loader.ProcessInitException; |
| 19 import org.chromium.content.app.ContentMain; | 20 import org.chromium.content.app.ContentMain; |
| 20 | 21 |
| 21 import java.util.ArrayList; | 22 import java.util.ArrayList; |
| 22 import java.util.List; | 23 import java.util.List; |
| 23 | 24 |
| 24 /** | 25 /** |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 | 287 |
| 287 private static native void nativeSetCommandLineFlags( | 288 private static native void nativeSetCommandLineFlags( |
| 288 boolean singleProcess, String pluginDescriptor); | 289 boolean singleProcess, String pluginDescriptor); |
| 289 | 290 |
| 290 // Is this an official build of Chrome? Only native code knows for sure. Off
icial build | 291 // Is this an official build of Chrome? Only native code knows for sure. Off
icial build |
| 291 // knowledge is needed very early in process startup. | 292 // knowledge is needed very early in process startup. |
| 292 private static native boolean nativeIsOfficialBuild(); | 293 private static native boolean nativeIsOfficialBuild(); |
| 293 | 294 |
| 294 private static native boolean nativeIsPluginEnabled(); | 295 private static native boolean nativeIsPluginEnabled(); |
| 295 } | 296 } |
| OLD | NEW |