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

Unified Diff: base/android/java/src/org/chromium/base/CommandLine.java

Issue 2817143002: Increase the limit of command line file size (Closed)
Patch Set: make 64k Created 3 years, 8 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: base/android/java/src/org/chromium/base/CommandLine.java
diff --git a/base/android/java/src/org/chromium/base/CommandLine.java b/base/android/java/src/org/chromium/base/CommandLine.java
index b6246f3f21030608b8525b4e22566889c939235a..0f49d88f5ce7abbe837d7bc4753d7f676568b1d9 100644
--- a/base/android/java/src/org/chromium/base/CommandLine.java
+++ b/base/android/java/src/org/chromium/base/CommandLine.java
@@ -134,8 +134,8 @@ public abstract class CommandLine {
* @param file The fully qualified command line file.
*/
public static void initFromFile(String file) {
- // Arbitrary clamp of 16k on the amount of file we read in.
- char[] buffer = readUtf8FileFullyCrashIfTooBig(file, 16 * 1024);
+ // Just field trials can take upto 10K of command line.
+ char[] buffer = readUtf8FileFullyCrashIfTooBig(file, 64 * 1024);
init(buffer == null ? null : tokenizeQuotedAruments(buffer));
}
« 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