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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
272 // Creates and initializes a profile sync service if the tests require one. | 272 // Creates and initializes a profile sync service if the tests require one. |
273 virtual TokenService* GetTokenService(); | 273 virtual TokenService* GetTokenService(); |
274 virtual ProfileSyncService* GetProfileSyncService(); | 274 virtual ProfileSyncService* GetProfileSyncService(); |
275 virtual ProfileSyncService* GetProfileSyncService( | 275 virtual ProfileSyncService* GetProfileSyncService( |
276 const std::string& cros_notes); | 276 const std::string& cros_notes); |
277 virtual ChromeBlobStorageContext* GetBlobStorageContext(); | 277 virtual ChromeBlobStorageContext* GetBlobStorageContext(); |
278 virtual ExtensionInfoMap* GetExtensionInfoMap(); | 278 virtual ExtensionInfoMap* GetExtensionInfoMap(); |
279 virtual PromoCounter* GetInstantPromoCounter(); | 279 virtual PromoCounter* GetInstantPromoCounter(); |
280 virtual ChromeURLDataManager* GetChromeURLDataManager(); | 280 virtual ChromeURLDataManager* GetChromeURLDataManager(); |
281 virtual chrome_browser_net::Predictor* GetNetworkPredictor(); | 281 virtual chrome_browser_net::Predictor* GetNetworkPredictor(); |
282 virtual void DeleteTransportSecurityStateSince(base::Time time); | 282 virtual void ClearNetworkingHistorySince(base::Time time); |
willchan no longer on Chromium
2011/10/07 19:15:46
Please use OVERRIDE here too. We should eventually
ramant (doing other things)
2011/10/08 21:51:40
Done.
| |
283 virtual PrefService* GetOffTheRecordPrefs(); | 283 virtual PrefService* GetOffTheRecordPrefs(); |
284 | 284 |
285 // TODO(jam): remove me once webkit_context_unittest.cc doesn't use Profile | 285 // TODO(jam): remove me once webkit_context_unittest.cc doesn't use Profile |
286 // and gets the quota::SpecialStoragePolicy* from whatever ends up replacing | 286 // and gets the quota::SpecialStoragePolicy* from whatever ends up replacing |
287 // it in the content module. | 287 // it in the content module. |
288 quota::SpecialStoragePolicy* GetSpecialStoragePolicy(); | 288 quota::SpecialStoragePolicy* GetSpecialStoragePolicy(); |
289 | 289 |
290 protected: | 290 protected: |
291 base::Time start_time_; | 291 base::Time start_time_; |
292 scoped_ptr<PrefService> prefs_; | 292 scoped_ptr<PrefService> prefs_; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
403 // testing. | 403 // testing. |
404 ProfileDependencyManager* profile_dependency_manager_; | 404 ProfileDependencyManager* profile_dependency_manager_; |
405 | 405 |
406 scoped_refptr<ChromeAppCacheService> appcache_service_; | 406 scoped_refptr<ChromeAppCacheService> appcache_service_; |
407 | 407 |
408 // The QuotaManager, only available if set explicitly via SetQuotaManager. | 408 // The QuotaManager, only available if set explicitly via SetQuotaManager. |
409 scoped_refptr<quota::QuotaManager> quota_manager_; | 409 scoped_refptr<quota::QuotaManager> quota_manager_; |
410 }; | 410 }; |
411 | 411 |
412 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 412 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |