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

Unified Diff: base/win/metro.h

Issue 10693133: Add a helper function to query whether parental control logging is on for the current chrome user (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/metro.h
===================================================================
--- base/win/metro.h (revision 146138)
+++ base/win/metro.h (working copy)
@@ -7,6 +7,7 @@
#pragma once
#include <windows.h>
+#include <wpcapi.h>
#include "base/base_export.h"
#include "base/string16.h"
@@ -62,6 +63,10 @@
// Returns true if the screen supports touch.
BASE_EXPORT bool IsTouchEnabled();
+// Returns true if Windows 8 Parental control activity logging is enabled.
+// Can only be called on the UI thread.
+BASE_EXPORT bool IsParentalControlActivityLoggingOn();
+
} // namespace win
} // namespace base
« no previous file with comments | « no previous file | base/win/metro.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698