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

Unified Diff: chrome/browser/policy/profile_policy_connector.h

Issue 1071713004: Enable NPAPI if policy has plugin policies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win and mac only Created 5 years, 8 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/policy/profile_policy_connector.h
diff --git a/chrome/browser/policy/profile_policy_connector.h b/chrome/browser/policy/profile_policy_connector.h
index b8a32951d2a497739bd946bb34915b083ea640c5..933c2aed3d8218e8e62ad925441cf59775399830 100644
--- a/chrome/browser/policy/profile_policy_connector.h
+++ b/chrome/browser/policy/profile_policy_connector.h
@@ -58,6 +58,9 @@ class ProfilePolicyConnector : public KeyedService {
private:
#if defined(ENABLE_CONFIGURATION_POLICY)
+#if defined(OS_WIN) || defined(OS_MACOSX)
+ void EnableNPAPIIfRequired();
+#endif
#if defined(OS_CHROMEOS)
// Some of the user policy configuration affects browser global state, and
// can only come from one Profile. |is_primary_user_| is true if this
« no previous file with comments | « no previous file | chrome/browser/policy/profile_policy_connector.cc » ('j') | chrome/browser/policy/profile_policy_connector.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698