Refactoring : Move AuthAttempt and Authenticators to chromeos/login
[chromium-blink-merge.git] / chrome / browser / android / chromium_application.h
blob6a0ba6da51c1a81c4961843aa883f40c37360091
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_
6 #define CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_
8 #include <jni.h>
10 #include "base/basictypes.h"
12 namespace content {
13 class WebContents;
16 namespace chrome {
17 namespace android {
19 // Represents Android Chromium Application. This is a singleton and
20 // provides functions to request browser side actions, such as opening a
21 // settings page.
22 class ChromiumApplication {
23 public:
24 static bool RegisterBindings(JNIEnv* env);
26 // Opens a protected content settings page, if available.
27 static void OpenProtectedContentSettings();
29 // Opens the sync settings page.
30 static void ShowSyncSettings();
32 // Shows a dialog with the terms of service.
33 static void ShowTermsOfServiceDialog();
35 // Open the clear browsing data UI.
36 static void OpenClearBrowsingData(content::WebContents* web_contents);
38 // Determines whether parental controls are enabled.
39 static bool AreParentalControlsEnabled();
41 private:
42 ChromiumApplication() {}
43 ~ChromiumApplication() {}
45 DISALLOW_COPY_AND_ASSIGN(ChromiumApplication);
48 } // namespace android
49 } // namespace chrome
51 #endif // CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_