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

Unified Diff: components/resource_provider/android/java/org/chromium/resource_provider/Main.java

Issue 1942473002: Eliminate mojo:resource_provider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 | « components/resource_provider/android/android_hooks.cc ('k') | components/resource_provider/file_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/resource_provider/android/java/org/chromium/resource_provider/Main.java
diff --git a/components/resource_provider/android/java/org/chromium/resource_provider/Main.java b/components/resource_provider/android/java/org/chromium/resource_provider/Main.java
deleted file mode 100644
index a65e69174a7f4ab702760b97b1695177d927063c..0000000000000000000000000000000000000000
--- a/components/resource_provider/android/java/org/chromium/resource_provider/Main.java
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2015 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.resource_provider;
-
-import android.content.Context;
-
-import org.chromium.base.ContextUtils;
-import org.chromium.base.PathUtils;
-import org.chromium.base.annotations.CalledByNative;
-import org.chromium.base.annotations.JNINamespace;
-
-/**
- * This class does setup for resource_provider.
- */
-@JNINamespace("resource_provider")
-public final class Main {
- private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "resource_provider";
-
- private Main() {}
-
- @SuppressWarnings("unused")
- @CalledByNative
- private static void init(Context context) {
- ContextUtils.initApplicationContext(context.getApplicationContext());
- PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, context);
- }
-}
« no previous file with comments | « components/resource_provider/android/android_hooks.cc ('k') | components/resource_provider/file_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698