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

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

Issue 3859003: FBTF: Even more ctor/virtual deinlining. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 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 unified diff | Download patch | Annotate | Revision Log
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_H_ 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_
6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 16 matching lines...) Expand all
27 Value::ValueType value_type; 27 Value::ValueType value_type;
28 const char* name; 28 const char* name;
29 }; 29 };
30 30
31 size_t entry_count; 31 size_t entry_count;
32 const Entry* entries; 32 const Entry* entries;
33 }; 33 };
34 34
35 explicit ConfigurationPolicyProvider(const StaticPolicyValueMap& policy_map); 35 explicit ConfigurationPolicyProvider(const StaticPolicyValueMap& policy_map);
36 36
37 virtual ~ConfigurationPolicyProvider() {} 37 virtual ~ConfigurationPolicyProvider();
38 38
39 // Must be implemented by provider subclasses to specify the 39 // Must be implemented by provider subclasses to specify the
40 // provider-specific policy decisions. The preference service 40 // provider-specific policy decisions. The preference service
41 // invokes this |Provide| method when it needs a policy 41 // invokes this |Provide| method when it needs a policy
42 // provider to specify its policy choices. In |Provide|, 42 // provider to specify its policy choices. In |Provide|,
43 // the |ConfigurationPolicyProvider| must make calls to the 43 // the |ConfigurationPolicyProvider| must make calls to the
44 // |Apply| method of |store| to apply specific policies. 44 // |Apply| method of |store| to apply specific policies.
45 // Returns true if the policy could be provided, otherwise false. 45 // Returns true if the policy could be provided, otherwise false.
46 virtual bool Provide(ConfigurationPolicyStore* store) = 0; 46 virtual bool Provide(ConfigurationPolicyStore* store) = 0;
47 47
(...skipping 19 matching lines...) Expand all
67 // Contains the default mapping from policy values to the actual names. 67 // Contains the default mapping from policy values to the actual names.
68 PolicyValueMap policy_value_map_; 68 PolicyValueMap policy_value_map_;
69 69
70 private: 70 private:
71 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProvider); 71 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyProvider);
72 }; 72 };
73 73
74 } // namespace policy 74 } // namespace policy
75 75
76 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_ 76 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698