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.chrome.testshell; | 5 package org.chromium.chrome.testshell; |
6 | 6 |
7 import android.content.Intent; | 7 import android.content.Intent; |
8 | 8 |
9 import org.chromium.base.CalledByNative; | 9 import org.chromium.base.CalledByNative; |
| 10 import org.chromium.base.CommandLine; |
10 import org.chromium.base.PathUtils; | 11 import org.chromium.base.PathUtils; |
11 import org.chromium.chrome.browser.ChromiumApplication; | 12 import org.chromium.chrome.browser.ChromiumApplication; |
12 import org.chromium.chrome.browser.UmaUtils; | 13 import org.chromium.chrome.browser.UmaUtils; |
13 import org.chromium.content.browser.ResourceExtractor; | 14 import org.chromium.content.browser.ResourceExtractor; |
14 import org.chromium.content.common.CommandLine; | |
15 | 15 |
16 import java.util.ArrayList; | 16 import java.util.ArrayList; |
17 | 17 |
18 /** | 18 /** |
19 * A basic test shell {@link android.app.Application}. Handles setting up the n
ative library and | 19 * A basic test shell {@link android.app.Application}. Handles setting up the n
ative library and |
20 * loading the right resources. | 20 * loading the right resources. |
21 */ | 21 */ |
22 public class ChromiumTestShellApplication extends ChromiumApplication { | 22 public class ChromiumTestShellApplication extends ChromiumApplication { |
23 private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "chromiumtestshe
ll"; | 23 private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "chromiumtestshe
ll"; |
24 private static final String[] CHROME_MANDATORY_PAKS = { | 24 private static final String[] CHROME_MANDATORY_PAKS = { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 } | 73 } |
74 | 74 |
75 @Override | 75 @Override |
76 protected void showSyncSettings() { | 76 protected void showSyncSettings() { |
77 } | 77 } |
78 | 78 |
79 @Override | 79 @Override |
80 protected void showTermsOfServiceDialog() { | 80 protected void showTermsOfServiceDialog() { |
81 } | 81 } |
82 } | 82 } |
OLD | NEW |