| 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.chrome.browser; | 5 package org.chromium.chrome.browser; |
| 6 | 6 |
| 7 import android.app.Activity; | 7 import android.app.Activity; |
| 8 import android.content.Context; | 8 import android.content.Context; |
| 9 import android.content.Intent; | 9 import android.content.Intent; |
| 10 import android.content.SharedPreferences; | 10 import android.content.SharedPreferences; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 import org.chromium.chrome.browser.partnercustomizations.PartnerBrowserCustomiza
tions; | 30 import org.chromium.chrome.browser.partnercustomizations.PartnerBrowserCustomiza
tions; |
| 31 import org.chromium.chrome.browser.preferences.LocationSettings; | 31 import org.chromium.chrome.browser.preferences.LocationSettings; |
| 32 import org.chromium.chrome.browser.preferences.Preferences; | 32 import org.chromium.chrome.browser.preferences.Preferences; |
| 33 import org.chromium.chrome.browser.preferences.PreferencesLauncher; | 33 import org.chromium.chrome.browser.preferences.PreferencesLauncher; |
| 34 import org.chromium.chrome.browser.preferences.ProtectedContentPreferences; | 34 import org.chromium.chrome.browser.preferences.ProtectedContentPreferences; |
| 35 import org.chromium.chrome.browser.preferences.autofill.AutofillPreferences; | 35 import org.chromium.chrome.browser.preferences.autofill.AutofillPreferences; |
| 36 import org.chromium.chrome.browser.preferences.password.ManageSavedPasswordsPref
erences; | 36 import org.chromium.chrome.browser.preferences.password.ManageSavedPasswordsPref
erences; |
| 37 import org.chromium.chrome.browser.preferences.privacy.PrivacyPreferences; | 37 import org.chromium.chrome.browser.preferences.privacy.PrivacyPreferences; |
| 38 import org.chromium.chrome.browser.preferences.website.SingleWebsitePreferences; | 38 import org.chromium.chrome.browser.preferences.website.SingleWebsitePreferences; |
| 39 import org.chromium.chrome.browser.services.AndroidEduOwnerCheckCallback; | 39 import org.chromium.chrome.browser.services.AndroidEduOwnerCheckCallback; |
| 40 import org.chromium.chrome.browser.smartcard.PKCS11AuthenticationManager; |
| 40 import org.chromium.content.app.ContentApplication; | 41 import org.chromium.content.app.ContentApplication; |
| 41 import org.chromium.content.browser.BrowserStartupController; | 42 import org.chromium.content.browser.BrowserStartupController; |
| 42 | 43 |
| 43 import java.util.concurrent.Callable; | 44 import java.util.concurrent.Callable; |
| 44 | 45 |
| 45 /** | 46 /** |
| 46 * Basic application functionality that should be shared among all browser appli
cations that use | 47 * Basic application functionality that should be shared among all browser appli
cations that use |
| 47 * chrome layer. | 48 * chrome layer. |
| 48 */ | 49 */ |
| 49 public abstract class ChromiumApplication extends ContentApplication { | 50 public abstract class ChromiumApplication extends ContentApplication { |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 | 315 |
| 315 protected void changeAppStatus(boolean inForeground) { | 316 protected void changeAppStatus(boolean inForeground) { |
| 316 nativeChangeAppStatus(inForeground); | 317 nativeChangeAppStatus(inForeground); |
| 317 } | 318 } |
| 318 | 319 |
| 319 private static native void nativeRemoveSessionCookies(); | 320 private static native void nativeRemoveSessionCookies(); |
| 320 private static native void nativeChangeAppStatus(boolean inForeground); | 321 private static native void nativeChangeAppStatus(boolean inForeground); |
| 321 private static native String nativeGetBrowserUserAgent(); | 322 private static native String nativeGetBrowserUserAgent(); |
| 322 private static native void nativeFlushPersistentData(); | 323 private static native void nativeFlushPersistentData(); |
| 323 } | 324 } |
| OLD | NEW |