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

Side by Side Diff: chrome/browser/policy/configuration_policy_provider_mac.h

Issue 3774003: Cleanup and style guideline conformance for policy implementation (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: fix windows build and tests Created 10 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_PROVIDER_MAC_H_ 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_MAC_H_
6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_MAC_H_ 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/browser/policy/configuration_policy_store_interface.h"
10 #include "chrome/browser/policy/file_based_policy_provider.h" 11 #include "chrome/browser/policy/file_based_policy_provider.h"
11 #include "chrome/browser/preferences_mac.h" 12 #include "chrome/browser/preferences_mac.h"
12 13
13 namespace policy { 14 namespace policy {
14 15
15 // A policy loader implementation that read Mac OS X's managed preferences. 16 // A policy loader implementation that read Mac OS X's managed preferences.
16 class MacPreferencesPolicyLoader : public FileBasedPolicyProvider::Delegate { 17 class MacPreferencesPolicyLoader : public FileBasedPolicyProvider::Delegate {
17 public: 18 public:
18 // Takes ownership of |preferences|. 19 // Takes ownership of |preferences|.
19 MacPreferencesPolicyLoader( 20 MacPreferencesPolicyLoader(
(...skipping 28 matching lines...) Expand all
48 ConfigurationPolicyProviderMac( 49 ConfigurationPolicyProviderMac(
49 const ConfigurationPolicyProvider::PolicyDefinitionList* policy_list, 50 const ConfigurationPolicyProvider::PolicyDefinitionList* policy_list,
50 MacPreferences* preferences); 51 MacPreferences* preferences);
51 52
52 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProviderMac); 53 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProviderMac);
53 }; 54 };
54 55
55 } // namespace policy 56 } // namespace policy
56 57
57 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_MAC_H_ 58 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698