OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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.content_shell; | 5 package org.chromium.content_shell; |
6 | 6 |
7 import android.app.Application; | 7 import android.app.Application; |
| 8 import org.chromium.content.browser.LibraryLoader; |
8 | 9 |
9 /** | 10 /** |
10 * Entry point for the content shell application. Handles initialization of inf
ormation that needs | 11 * Entry point for the content shell application. Handles initialization of inf
ormation that needs |
11 * to be shared across the main activity and the sandbox services created. | 12 * to be shared across the main activity and the sandbox services created. |
12 */ | 13 */ |
13 public class ContentShellApplication extends Application { | 14 public class ContentShellApplication extends Application { |
| 15 |
| 16 // TODO(jrg): do not downstream this filename! |
| 17 private static final String NATIVE_LIBRARY = "content_shell_content_view"; |
| 18 |
14 @Override | 19 @Override |
15 public void onCreate() { | 20 public void onCreate() { |
16 super.onCreate(); | 21 super.onCreate(); |
17 // TODO(tedchoc): Initialize the .pak files to load and the native libra
ry name. | 22 // TODO(tedchoc): Initialize the .pak files to load |
| 23 LibraryLoader.setLibraryToLoad(NATIVE_LIBRARY); |
18 } | 24 } |
19 | 25 |
20 } | 26 } |
OLD | NEW |