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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 336213005: Disable incognito link if parental control is on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 8b310a9a1a5e11a8351e0ccf1d35611bdf2f2f35..12ccb1cb3abd0a19e06633a8f4c516997049a5c9 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -210,6 +210,10 @@ class ProfileIOData {
bool IsOffTheRecord() const;
+ // Returns whether parental controls have been enabled on the platform. This
+ // function simply returns a cached value and thus the result may be stale.
+ bool ArePlatformParentalControlsEnabledCached() const;
+
IntegerPrefMember* incognito_availibility() const {
return &incognito_availibility_pref_;
}
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_io_data.cc » ('j') | chrome/browser/profiles/profile_io_data.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698