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

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

Issue 1640503003: Remove unused foreground member variable from SB Protocol Manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/browser/android/chrome_application.cc » ('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/ChromeApplication.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
index 09e2bd4e2a9f3f36283e8a33724893908b0285e8..139a00f89a51dfb72909836418dde455c54c55f4 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
@@ -261,7 +261,6 @@ public class ChromeApplication extends ContentApplication {
updatePasswordEchoState();
updateFontSize();
updateAcceptLanguages();
- changeAppStatus(true);
mVariationsSession.start(getApplicationContext());
mPowerBroadcastReceiver.onForegroundSessionStart();
@@ -283,7 +282,6 @@ public class ChromeApplication extends ContentApplication {
mBackgroundProcessing.suspendTimers();
flushPersistentData();
mIsStarted = false;
- changeAppStatus(false);
mPowerBroadcastReceiver.onForegroundSessionEnd();
ChildProcessLauncher.onSentToBackground();
@@ -601,12 +599,7 @@ public class ChromeApplication extends ContentApplication {
}
}
- protected void changeAppStatus(boolean inForeground) {
- nativeChangeAppStatus(inForeground);
- }
-
private static native void nativeRemoveSessionCookies();
- private static native void nativeChangeAppStatus(boolean inForeground);
private static native String nativeGetBrowserUserAgent();
private static native void nativeFlushPersistentData();
« no previous file with comments | « no previous file | chrome/browser/android/chrome_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698