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

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

Issue 11360207: Add Java resources to content and chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove obsolete findbugs warnings Created 8 years, 1 month 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
Index: content/public/android/java/src/org/chromium/content/browser/AndroidBrowserProcess.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/AndroidBrowserProcess.java b/content/public/android/java/src/org/chromium/content/browser/AndroidBrowserProcess.java
index d98ad19cbc786cbe7744866f3a5b4cc20254f354..6f62a71c015f8dddacbb719c27e437c21207f53e 100644
--- a/content/public/android/java/src/org/chromium/content/browser/AndroidBrowserProcess.java
+++ b/content/public/android/java/src/org/chromium/content/browser/AndroidBrowserProcess.java
@@ -13,10 +13,10 @@ import android.view.WindowManager;
import android.view.Display;
import org.chromium.base.JNINamespace;
-import org.chromium.content.app.AppResource;
import org.chromium.content.app.ContentMain;
import org.chromium.content.app.LibraryLoader;
import org.chromium.content.common.CommandLine;
+import org.chromium.content.R;
// NOTE: This file hasn't been fully upstreamed, please don't merge to downstream.
@JNINamespace("content")
@@ -118,7 +118,7 @@ public class AndroidBrowserProcess {
CommandLine.getInstance().hasSwitch(CommandLine.ADD_OFFICIAL_COMMAND_LINE)) {
Resources res = context.getResources();
try {
- String[] switches = res.getStringArray(AppResource.ARRAY_OFFICIAL_COMMAND_LINE);
+ String[] switches = res.getStringArray(R.array.official_command_line);
CommandLine.getInstance().appendSwitchesAndArguments(switches);
} catch (Resources.NotFoundException e) {
// Do nothing. It is fine to have no command line

Powered by Google App Engine
This is Rietveld 408576698