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

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

Issue 2345143002: Move language pak files to assets. (Closed)
Patch Set: Move language pak files back to assets rather than res. Created 4 years, 3 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
Index: base/android/java/src/org/chromium/base/LocalePakFiles.java
diff --git a/base/android/java/src/org/chromium/base/LocalePakFiles.java b/base/android/java/src/org/chromium/base/LocalePakFiles.java
new file mode 100644
index 0000000000000000000000000000000000000000..d14a3761709f7085b7423666928c6cbf17e4beee
--- /dev/null
+++ b/base/android/java/src/org/chromium/base/LocalePakFiles.java
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.base;
+
+/**
+ * Provides access to Locale pak files.
+ */
+public interface LocalePakFiles {
+
+ /**
+ * Return the locale pak file paths within the apk for the given language.
+ *
+ * @param lang The language code to retrieve pak files for.
+ * @return An array of pak file paths.
+ */
+ public String[] getPakFilesForLocale(String lang);
+}

Powered by Google App Engine
This is Rietveld 408576698