| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_H_ |
| 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_H_ | 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 virtual void ApplyPolicySettings(const PolicyMap& policies, | 245 virtual void ApplyPolicySettings(const PolicyMap& policies, |
| 246 PrefValueMap* prefs) OVERRIDE; | 246 PrefValueMap* prefs) OVERRIDE; |
| 247 | 247 |
| 248 private: | 248 private: |
| 249 DISALLOW_COPY_AND_ASSIGN(DownloadDirPolicyHandler); | 249 DISALLOW_COPY_AND_ASSIGN(DownloadDirPolicyHandler); |
| 250 }; | 250 }; |
| 251 | 251 |
| 252 // ConfigurationPolicyHandler for the DiskCacheDir policy. | 252 // ConfigurationPolicyHandler for the DiskCacheDir policy. |
| 253 class DiskCacheDirPolicyHandler : public TypeCheckingPolicyHandler { | 253 class DiskCacheDirPolicyHandler : public TypeCheckingPolicyHandler { |
| 254 public: | 254 public: |
| 255 explicit DiskCacheDirPolicyHandler(); | 255 DiskCacheDirPolicyHandler(); |
| 256 virtual ~DiskCacheDirPolicyHandler(); | 256 virtual ~DiskCacheDirPolicyHandler(); |
| 257 | 257 |
| 258 // ConfigurationPolicyHandler methods: | 258 // ConfigurationPolicyHandler methods: |
| 259 virtual void ApplyPolicySettings(const PolicyMap& policies, | 259 virtual void ApplyPolicySettings(const PolicyMap& policies, |
| 260 PrefValueMap* prefs) OVERRIDE; | 260 PrefValueMap* prefs) OVERRIDE; |
| 261 | 261 |
| 262 private: | 262 private: |
| 263 DISALLOW_COPY_AND_ASSIGN(DiskCacheDirPolicyHandler); | 263 DISALLOW_COPY_AND_ASSIGN(DiskCacheDirPolicyHandler); |
| 264 }; | 264 }; |
| 265 | 265 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 private: | 458 private: |
| 459 void ApplyPolicySettingsFromHomePage(const PolicyMap& policies, | 459 void ApplyPolicySettingsFromHomePage(const PolicyMap& policies, |
| 460 PrefValueMap* prefs); | 460 PrefValueMap* prefs); |
| 461 | 461 |
| 462 DISALLOW_COPY_AND_ASSIGN(RestoreOnStartupPolicyHandler); | 462 DISALLOW_COPY_AND_ASSIGN(RestoreOnStartupPolicyHandler); |
| 463 }; | 463 }; |
| 464 | 464 |
| 465 } // namespace policy | 465 } // namespace policy |
| 466 | 466 |
| 467 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_H_ | 467 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_H_ |
| OLD | NEW |