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

Unified Diff: components/policy/core/common/policy_loader_ios.h

Issue 213483004: Extended the iOS platform policy loader to load an additional key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added tests Created 6 years, 9 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: components/policy/core/common/policy_loader_ios.h
diff --git a/components/policy/core/common/policy_loader_ios.h b/components/policy/core/common/policy_loader_ios.h
index d3c9771f60045e93dc4abf4f3b4c35e26a946a88..90f37ebb0e1e57ea167f04694a6db7abe8519859 100644
--- a/components/policy/core/common/policy_loader_ios.h
+++ b/components/policy/core/common/policy_loader_ios.h
@@ -30,6 +30,10 @@ class POLICY_EXPORT PolicyLoaderIOS : public AsyncPolicyLoader {
private:
void UserDefaultsChanged();
+ // Loads the Chrome policies in |dictionary| into the given |bundle|.
+ static void LoadNSDictionaryToPolicyBundle(NSDictionary* dictionary,
+ PolicyBundle* bundle);
+
// Used to manage the registration for NSNotificationCenter notifications.
base::scoped_nsobject<id> notification_observer_;
« no previous file with comments | « no previous file | components/policy/core/common/policy_loader_ios.mm » ('j') | components/policy/core/common/policy_loader_ios.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698