Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: chrome/browser/android/chromium_application.h

Issue 136693011: Disable incognito if parental controls are enabled on android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep native_test as the package to be compliant w/ testing framework Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698