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

Side by Side Diff: shell/android/apk/src/org/chromium/mojo/shell/MojoShellApplication.java

Issue 1641513004: Update //base to chromium 9659b08ea5a34f889dc4166217f438095ddc10d2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « shell/BUILD.gn ('k') | shell/android/url_response_disk_cache_delegate_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.mojo.shell; 5 package org.chromium.mojo.shell;
6 6
7 import android.util.Log; 7 import android.util.Log;
8 8
9 import org.chromium.base.BaseChromiumApplication; 9 import org.chromium.base.BaseChromiumApplication;
10 import org.chromium.base.PathUtils; 10 import org.chromium.base.PathUtils;
(...skipping 22 matching lines...) Expand all
33 private void initializeJavaUtils() { 33 private void initializeJavaUtils() {
34 PathUtils.setPrivateDataDirectorySuffix( 34 PathUtils.setPrivateDataDirectorySuffix(
35 PRIVATE_DATA_DIRECTORY_SUFFIX, getApplicationContext()); 35 PRIVATE_DATA_DIRECTORY_SUFFIX, getApplicationContext());
36 } 36 }
37 37
38 /** 38 /**
39 * Loads the native library. 39 * Loads the native library.
40 */ 40 */
41 private void initializeNative() { 41 private void initializeNative() {
42 try { 42 try {
43 LibraryLoader.get(LibraryProcessType.PROCESS_BROWSER).ensureInitiali zed(); 43 LibraryLoader.get(LibraryProcessType.PROCESS_BROWSER)
44 .ensureInitialized(getApplicationContext());
44 } catch (ProcessInitException e) { 45 } catch (ProcessInitException e) {
45 Log.e(TAG, "libmojo_shell initialization failed.", e); 46 Log.e(TAG, "libmojo_shell initialization failed.", e);
46 throw new RuntimeException(e); 47 throw new RuntimeException(e);
47 } 48 }
48 } 49 }
49 } 50 }
OLDNEW
« no previous file with comments | « shell/BUILD.gn ('k') | shell/android/url_response_disk_cache_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698