Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / browser / android / chromium_application.h
blobc2ecef2980910f6ba6e3c386450244257ecc2b10
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 chrome {
13 namespace android {
15 // Represents Android Chromium Application. This is a singleton and
16 // provides functions to request browser side actions, such as opening a
17 // settings page.
18 class ChromiumApplication {
19 public:
20 static bool RegisterBindings(JNIEnv* env);
22 // Opens a protected content settings page, if available.
23 static void OpenProtectedContentSettings();
25 // Opens the sync settings page.
26 static void ShowSyncSettings();
28 // Shows a dialog with the terms of service.
29 static void ShowTermsOfServiceDialog();
31 // Determines whether parental controls are enabled.
32 static bool AreParentalControlsEnabled();
34 private:
35 ChromiumApplication() {}
36 ~ChromiumApplication() {}
38 DISALLOW_COPY_AND_ASSIGN(ChromiumApplication);
41 } // namespace android
42 } // namespace chrome
44 #endif // CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_