OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TEST_BASE_TESTING_PROFILE_H_ | 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_ |
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ | 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 virtual TokenService* GetTokenService(); | 268 virtual TokenService* GetTokenService(); |
269 virtual ProfileSyncService* GetProfileSyncService(); | 269 virtual ProfileSyncService* GetProfileSyncService(); |
270 virtual ProfileSyncService* GetProfileSyncService( | 270 virtual ProfileSyncService* GetProfileSyncService( |
271 const std::string& cros_notes); | 271 const std::string& cros_notes); |
272 virtual ChromeBlobStorageContext* GetBlobStorageContext(); | 272 virtual ChromeBlobStorageContext* GetBlobStorageContext(); |
273 virtual ExtensionInfoMap* GetExtensionInfoMap(); | 273 virtual ExtensionInfoMap* GetExtensionInfoMap(); |
274 virtual PromoCounter* GetInstantPromoCounter(); | 274 virtual PromoCounter* GetInstantPromoCounter(); |
275 virtual ChromeURLDataManager* GetChromeURLDataManager(); | 275 virtual ChromeURLDataManager* GetChromeURLDataManager(); |
276 virtual prerender::PrerenderManager* GetPrerenderManager(); | 276 virtual prerender::PrerenderManager* GetPrerenderManager(); |
277 virtual PrefService* GetOffTheRecordPrefs(); | 277 virtual PrefService* GetOffTheRecordPrefs(); |
| 278 virtual policy::HostBlacklistManager* GetHostBlacklistManager(); |
278 | 279 |
279 // TODO(jam): remove me once webkit_context_unittest.cc doesn't use Profile | 280 // TODO(jam): remove me once webkit_context_unittest.cc doesn't use Profile |
280 // and gets the quota::SpecialStoragePolicy* from whatever ends up replacing | 281 // and gets the quota::SpecialStoragePolicy* from whatever ends up replacing |
281 // it in the content module. | 282 // it in the content module. |
282 quota::SpecialStoragePolicy* GetSpecialStoragePolicy(); | 283 quota::SpecialStoragePolicy* GetSpecialStoragePolicy(); |
283 | 284 |
284 protected: | 285 protected: |
285 base::Time start_time_; | 286 base::Time start_time_; |
286 scoped_ptr<PrefService> prefs_; | 287 scoped_ptr<PrefService> prefs_; |
287 // ref only for right type, lifecycle is managed by prefs_ | 288 // ref only for right type, lifecycle is managed by prefs_ |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 // testing. | 391 // testing. |
391 ProfileDependencyManager* profile_dependency_manager_; | 392 ProfileDependencyManager* profile_dependency_manager_; |
392 | 393 |
393 scoped_refptr<ChromeAppCacheService> appcache_service_; | 394 scoped_refptr<ChromeAppCacheService> appcache_service_; |
394 | 395 |
395 // The QuotaManager, only available if set explicitly via SetQuotaManager. | 396 // The QuotaManager, only available if set explicitly via SetQuotaManager. |
396 scoped_refptr<quota::QuotaManager> quota_manager_; | 397 scoped_refptr<quota::QuotaManager> quota_manager_; |
397 }; | 398 }; |
398 | 399 |
399 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 400 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |