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

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

Issue 10035043: Update RestoreOnStartupPolicyHandler to translate to the correct preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: a few nits Created 8 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/configuration_policy_handler.h
diff --git a/chrome/browser/policy/configuration_policy_handler.h b/chrome/browser/policy/configuration_policy_handler.h
index 739f478666c6e19d16944999d278a4db82e2a487..c9be212a6b34da4677fed9ac25c663dbfad5e7fb 100644
--- a/chrome/browser/policy/configuration_policy_handler.h
+++ b/chrome/browser/policy/configuration_policy_handler.h
@@ -315,8 +315,13 @@ class RestoreOnStartupPolicyHandler : public SimplePolicyHandler {
// ConfigurationPolicyHandler methods:
virtual bool CheckPolicySettings(const PolicyMap& policies,
PolicyErrorMap* errors) OVERRIDE;
+ virtual void ApplyPolicySettings(const PolicyMap& policies,
+ PrefValueMap* prefs) OVERRIDE;
Mattias Nissler (ping if slow) 2012/04/19 13:15:55 Now that you also override ApplyPolicySettings, I'
Tyler Breisacher (Chromium) 2012/04/19 19:07:56 Done.
private:
+ void ApplyPolicySettingsFromHomePage(const PolicyMap& policies,
+ PrefValueMap* prefs);
+
DISALLOW_COPY_AND_ASSIGN(RestoreOnStartupPolicyHandler);
};

Powered by Google App Engine
This is Rietveld 408576698