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

Unified Diff: chrome/browser/extensions/extension_function_registry.cc

Issue 10510006: Add ManagedModePolicyProvider and extension API to get and set policies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 8 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 | chrome/browser/extensions/extension_managed_mode_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_function_registry.cc
diff --git a/chrome/browser/extensions/extension_function_registry.cc b/chrome/browser/extensions/extension_function_registry.cc
index 734afda6e2e3b66fa07149e3896df3597c5111e4..3b2745365c66e8097adfa8b9d18c6957b18c7f4f 100644
--- a/chrome/browser/extensions/extension_function_registry.cc
+++ b/chrome/browser/extensions/extension_function_registry.cc
@@ -295,6 +295,8 @@ void ExtensionFunctionRegistry::ResetFunctions() {
// Managed mode.
RegisterFunction<GetManagedModeFunction>();
RegisterFunction<EnterManagedModeFunction>();
+ RegisterFunction<GetPolicyFunction>();
+ RegisterFunction<SetPolicyFunction>();
// Management.
RegisterFunction<GetAllExtensionsFunction>();
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_managed_mode_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698