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

Side by Side Diff: android_webview/glue/java/src/com/android/webview/chromium/MonochromeLibraryPreloader.java

Issue 2298093008: android webview: Upstream android 7 glue layer (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package com.android.webview.chromium;
6
7 import android.content.Context;
8 import android.webkit.WebViewFactory;
9
10 import org.chromium.base.library_loader.NativeLibraryPreloader;
11
12 /**
13 * The library preloader for Monochrome for sharing native library's relro
14 * between Chrome and WebView.
15 */
16 public class MonochromeLibraryPreloader extends NativeLibraryPreloader {
17
18 @Override
19 public int loadLibrary(Context context) {
20 return WebViewFactory.loadWebViewNativeLibraryFromPackage(context.getPac kageName(),
21 getClass().getClassLoader());
22 }
23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698