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

Unified Diff: ui/android/java/src/org/chromium/ui/base/ResourceBundle.java

Issue 854713003: More old files deletion. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix tryjobs? Created 5 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 | « ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/java/src/org/chromium/ui/base/ResourceBundle.java
diff --git a/ui/android/java/src/org/chromium/ui/base/ResourceBundle.java b/ui/android/java/src/org/chromium/ui/base/ResourceBundle.java
deleted file mode 100644
index a17975c3a723fc06dc18301859f218faa4c74f52..0000000000000000000000000000000000000000
--- a/ui/android/java/src/org/chromium/ui/base/ResourceBundle.java
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2014 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.ui.base;
-
-import android.content.Context;
-import android.content.res.AssetFileDescriptor;
-import android.content.res.AssetManager;
-
-import org.chromium.base.CalledByNative;
-import org.chromium.base.JNINamespace;
-
-import java.io.IOException;
-
-/**
- * This class provides the resource bundle related methods for the native library.
- */
-@JNINamespace("ui")
-class ResourceBundle {
- @CalledByNative
- static boolean assetContainedInApk(Context ctx, String filename) {
- try {
- AssetManager am = ctx.getAssets();
- AssetFileDescriptor afd = am.openFd(filename);
- afd.close();
- return true;
- } catch (IOException e) {
- return false;
- }
- }
-}
« no previous file with comments | « ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698