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

Unified Diff: base/win/metro.h

Issue 336213005: Disable incognito link if parental control is on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moves parental control check to profile_io_data 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
« no previous file with comments | « no previous file | base/win/metro.cc » ('j') | base/win/metro.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/metro.h
diff --git a/base/win/metro.h b/base/win/metro.h
index 5894ef06daed473355a8422c7b25753e5fcb9a94..fec537e89293561a17b3324fc11ed594e5851244 100644
--- a/base/win/metro.h
+++ b/base/win/metro.h
@@ -85,6 +85,11 @@ BASE_EXPORT wchar_t* LocalAllocAndCopyString(const string16& src);
// This function should ideally be called on the UI thread.
BASE_EXPORT bool IsParentalControlActivityLoggingOn();
+// Returns true if Windows Parental control activity logging is enabled. This
+// function simply returns a cached value and must be called after
+// |IsParentalControlActivityLoggingOn| which sets the cached value.
+BASE_EXPORT bool IsParentalControlActivityLoggingOnCached();
cpu_(ooo_6.6-7.5) 2014/06/17 16:35:51 Most functions in this file are not used and slate
guohui 2014/06/17 18:45:03 we hit this codepatch in this CL. We need to check
+
// Returns the type of launch and the activation params. For example if the
// the launch is for METRO_PROTOCOL then the params is a url.
BASE_EXPORT MetroLaunchType GetMetroLaunchParams(string16* params);
« no previous file with comments | « no previous file | base/win/metro.cc » ('j') | base/win/metro.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698