Upstream version 5.34.104.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
10 /**
11  * A stub implementation of the chrome application to be used in chrome unit_tests.
12  */
13 public class ChromeNativeTestApplication extends ChromiumApplication {
14
15     @Override
16     protected void openProtectedContentSettings() {
17     }
18
19     @Override
20     protected void showSyncSettings() {
21     }
22
23     @Override
24     protected void showTermsOfServiceDialog() {
25     }
26
27     @Override
28     protected boolean areParentalControlsEnabled() {
29         return false;
30     }
31
32     @Override
33     protected PKCS11AuthenticationManager getPKCS11AuthenticationManager() {
34         return null;
35     }
36 }