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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/AndroidBrowserProcess.java

Issue 14671011: Merge 199501 "[Android] Always set "mobile user agent" switch to..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1500/src/
Patch Set: Created 7 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/AndroidBrowserProcess.java
===================================================================
--- content/public/android/java/src/org/chromium/content/browser/AndroidBrowserProcess.java (revision 199828)
+++ content/public/android/java/src/org/chromium/content/browser/AndroidBrowserProcess.java (working copy)
@@ -6,14 +6,11 @@
import android.app.ActivityManager;
import android.content.Context;
-import android.content.res.Resources;
import android.util.Log;
import org.chromium.base.JNINamespace;
import org.chromium.content.app.ContentMain;
import org.chromium.content.app.LibraryLoader;
-import org.chromium.content.browser.PepperPluginManager;
-import org.chromium.content.common.CommandLine;
import org.chromium.content.common.ProcessInitException;
// NOTE: This file hasn't been fully upstreamed, please don't merge to downstream.
@@ -88,6 +85,8 @@
// Normally Main.java will have already loaded the library asynchronously, we only
// need to load it here if we arrived via another flow, e.g. bookmark access & sync setup.
LibraryLoader.ensureInitialized();
+ // TODO(yfriedman): Remove dependency on a command line flag for this.
+ DeviceUtils.addDeviceSpecificUserAgentSwitch(context);
Context appContext = context.getApplicationContext();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698