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

Side by Side Diff: chrome/browser/profiles/profile_impl.h

Issue 1786263002: Remove uses of ENABLE_CONFIGURATION_POLICY from src/chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sort Created 4 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 unified diff | Download patch
OLDNEW
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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 // The order of the members below is important. Do not change it unless 206 // The order of the members below is important. Do not change it unless
207 // you know what you're doing. Also, if adding a new member here make sure 207 // you know what you're doing. Also, if adding a new member here make sure
208 // that the declaration occurs AFTER things it depends on as destruction 208 // that the declaration occurs AFTER things it depends on as destruction
209 // happens in reverse order of declaration. 209 // happens in reverse order of declaration.
210 210
211 // TODO(mnissler, joaodasilva): The |profile_policy_connector_| provides the 211 // TODO(mnissler, joaodasilva): The |profile_policy_connector_| provides the
212 // PolicyService that the |prefs_| depend on, and must outlive |prefs_|. 212 // PolicyService that the |prefs_| depend on, and must outlive |prefs_|.
213 // This can be removed once |prefs_| becomes a KeyedService too. 213 // This can be removed once |prefs_| becomes a KeyedService too.
214 // |profile_policy_connector_| in turn depends on |cloud_policy_manager_|, 214 // |profile_policy_connector_| in turn depends on |cloud_policy_manager_|,
215 // which depends on |schema_registry_service_|. 215 // which depends on |schema_registry_service_|.
216 #if defined(ENABLE_CONFIGURATION_POLICY)
217 scoped_ptr<policy::SchemaRegistryService> schema_registry_service_; 216 scoped_ptr<policy::SchemaRegistryService> schema_registry_service_;
218 scoped_ptr<policy::CloudPolicyManager> cloud_policy_manager_; 217 scoped_ptr<policy::CloudPolicyManager> cloud_policy_manager_;
219 #endif
220 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; 218 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_;
221 219
222 // Keep |pref_validation_delegate_| above |prefs_| so that the former outlives 220 // Keep |pref_validation_delegate_| above |prefs_| so that the former outlives
223 // the latter. 221 // the latter.
224 scoped_ptr<TrackedPreferenceValidationDelegate> pref_validation_delegate_; 222 scoped_ptr<TrackedPreferenceValidationDelegate> pref_validation_delegate_;
225 223
226 // Keep |prefs_| on top for destruction order because |extension_prefs_|, 224 // Keep |prefs_| on top for destruction order because |extension_prefs_|,
227 // |net_pref_observer_|, |io_data_| and others store pointers to |prefs_| and 225 // |net_pref_observer_|, |io_data_| and others store pointers to |prefs_| and
228 // shall be destructed first. 226 // shall be destructed first.
229 scoped_refptr<user_prefs::PrefRegistrySyncable> pref_registry_; 227 scoped_refptr<user_prefs::PrefRegistrySyncable> pref_registry_;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // components/keyed_service/content/browser_context_keyed_service_factory.* 271 // components/keyed_service/content/browser_context_keyed_service_factory.*
274 272
275 Profile::Delegate* delegate_; 273 Profile::Delegate* delegate_;
276 274
277 chrome_browser_net::Predictor* predictor_; 275 chrome_browser_net::Predictor* predictor_;
278 276
279 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 277 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
280 }; 278 };
281 279
282 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 280 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698