OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_ |
6 #define CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_ | 6 #define CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 // Opens a protected content settings page, if available. | 22 // Opens a protected content settings page, if available. |
23 static void OpenProtectedContentSettings(); | 23 static void OpenProtectedContentSettings(); |
24 | 24 |
25 // Opens the sync settings page. | 25 // Opens the sync settings page. |
26 static void ShowSyncSettings(); | 26 static void ShowSyncSettings(); |
27 | 27 |
28 // Shows a dialog with the terms of service. | 28 // Shows a dialog with the terms of service. |
29 static void ShowTermsOfServiceDialog(); | 29 static void ShowTermsOfServiceDialog(); |
30 | 30 |
| 31 // Determines whether parental controls are enabled. |
| 32 static bool AreParentalControlsEnabled(); |
| 33 |
31 private: | 34 private: |
32 ChromiumApplication() {} | 35 ChromiumApplication() {} |
33 ~ChromiumApplication() {} | 36 ~ChromiumApplication() {} |
34 | 37 |
35 DISALLOW_COPY_AND_ASSIGN(ChromiumApplication); | 38 DISALLOW_COPY_AND_ASSIGN(ChromiumApplication); |
36 }; | 39 }; |
37 | 40 |
38 } // namespace android | 41 } // namespace android |
39 } // namespace chrome | 42 } // namespace chrome |
40 | 43 |
41 #endif // CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_ | 44 #endif // CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_ |
OLD | NEW |