Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / test / android / unit_tests_apk / src / org / chromium / chrome / unit_tests_apk / ChromeNativeTestApplication.java
1 // Copyright 2014 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 org.chromium.chrome.unit_tests_apk;
6
7 import org.chromium.chrome.browser.ChromiumApplication;
8 import org.chromium.chrome.browser.PKCS11AuthenticationManager;
9 import org.chromium.chrome.browser.Tab;
10
11 /**
12  * A stub implementation of the chrome application to be used in chrome unit_tests.
13  */
14 public class ChromeNativeTestApplication extends ChromiumApplication {
15
16     @Override
17     protected void openProtectedContentSettings() {
18     }
19
20     @Override
21     protected void showSyncSettings() {
22     }
23
24     @Override
25     protected void showAutofillSettings() {
26     }
27
28     @Override
29     protected void showTermsOfServiceDialog() {
30     }
31
32     @Override
33     protected void openClearBrowsingData(Tab tab) {
34     }
35
36     @Override
37     protected boolean areParentalControlsEnabled() {
38         return false;
39     }
40
41     @Override
42     protected PKCS11AuthenticationManager getPKCS11AuthenticationManager() {
43         return null;
44     }
45 }