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

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

Issue 5174006: Move DeviceManagementPolicyProvider into the profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address thakis' comments. 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 | 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 // 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_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILE_IMPL_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 virtual ProfileSyncService* GetProfileSyncService( 117 virtual ProfileSyncService* GetProfileSyncService(
118 const std::string& cros_user); 118 const std::string& cros_user);
119 virtual TokenService* GetTokenService(); 119 virtual TokenService* GetTokenService();
120 void InitSyncService(const std::string& cros_user); 120 void InitSyncService(const std::string& cros_user);
121 virtual CloudPrintProxyService* GetCloudPrintProxyService(); 121 virtual CloudPrintProxyService* GetCloudPrintProxyService();
122 void InitCloudPrintProxyService(); 122 void InitCloudPrintProxyService();
123 virtual ChromeBlobStorageContext* GetBlobStorageContext(); 123 virtual ChromeBlobStorageContext* GetBlobStorageContext();
124 virtual ExtensionInfoMap* GetExtensionInfoMap(); 124 virtual ExtensionInfoMap* GetExtensionInfoMap();
125 virtual PromoCounter* GetInstantPromoCounter(); 125 virtual PromoCounter* GetInstantPromoCounter();
126 virtual BrowserSignin* GetBrowserSignin(); 126 virtual BrowserSignin* GetBrowserSignin();
127 virtual policy::DeviceManagementPolicyProvider*
128 GetDeviceManagementPolicyProvider();
127 129
128 #if defined(OS_CHROMEOS) 130 #if defined(OS_CHROMEOS)
129 virtual chromeos::ProxyConfigServiceImpl* GetChromeOSProxyConfigServiceImpl(); 131 virtual chromeos::ProxyConfigServiceImpl* GetChromeOSProxyConfigServiceImpl();
130 #endif // defined(OS_CHROMEOS) 132 #endif // defined(OS_CHROMEOS)
131 133
132 // NotificationObserver implementation. 134 // NotificationObserver implementation.
133 virtual void Observe(NotificationType type, 135 virtual void Observe(NotificationType type,
134 const NotificationSource& source, 136 const NotificationSource& source,
135 const NotificationDetails& details); 137 const NotificationDetails& details);
136 138
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 // The main database tracker for this profile. 266 // The main database tracker for this profile.
265 // Should be used only on the file thread. 267 // Should be used only on the file thread.
266 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; 268 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_;
267 269
268 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. 270 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails.
269 271
270 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; 272 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
271 273
272 scoped_refptr<ExtensionInfoMap> extension_info_map_; 274 scoped_refptr<ExtensionInfoMap> extension_info_map_;
273 275
276 scoped_ptr<policy::DeviceManagementPolicyProvider>
277 device_management_policy_provider_;
278
274 #if defined(OS_CHROMEOS) 279 #if defined(OS_CHROMEOS)
275 scoped_ptr<chromeos::Preferences> chromeos_preferences_; 280 scoped_ptr<chromeos::Preferences> chromeos_preferences_;
276 281
277 scoped_refptr<chromeos::ProxyConfigServiceImpl> 282 scoped_refptr<chromeos::ProxyConfigServiceImpl>
278 chromeos_proxy_config_service_impl_; 283 chromeos_proxy_config_service_impl_;
279 #endif 284 #endif
280 285
281 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 286 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
282 }; 287 };
283 288
284 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ 289 #endif // CHROME_BROWSER_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698