| 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 virtual TokenService* GetTokenService(); | 272 virtual TokenService* GetTokenService(); |
| 273 virtual ProfileSyncService* GetProfileSyncService(); | 273 virtual ProfileSyncService* GetProfileSyncService(); |
| 274 virtual ProfileSyncService* GetProfileSyncService( | 274 virtual ProfileSyncService* GetProfileSyncService( |
| 275 const std::string& cros_notes); | 275 const std::string& cros_notes); |
| 276 virtual ChromeBlobStorageContext* GetBlobStorageContext(); | 276 virtual ChromeBlobStorageContext* GetBlobStorageContext(); |
| 277 virtual ExtensionInfoMap* GetExtensionInfoMap(); | 277 virtual ExtensionInfoMap* GetExtensionInfoMap(); |
| 278 virtual PromoCounter* GetInstantPromoCounter(); | 278 virtual PromoCounter* GetInstantPromoCounter(); |
| 279 virtual ChromeURLDataManager* GetChromeURLDataManager(); | 279 virtual ChromeURLDataManager* GetChromeURLDataManager(); |
| 280 virtual chrome_browser_net::Predictor* GetNetworkPredictor(); | 280 virtual chrome_browser_net::Predictor* GetNetworkPredictor(); |
| 281 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; | 281 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; |
| 282 virtual GURL GetHomePage() OVERRIDE; |
| 282 virtual PrefService* GetOffTheRecordPrefs(); | 283 virtual PrefService* GetOffTheRecordPrefs(); |
| 283 | 284 |
| 284 // 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 |
| 285 // and gets the quota::SpecialStoragePolicy* from whatever ends up replacing | 286 // and gets the quota::SpecialStoragePolicy* from whatever ends up replacing |
| 286 // it in the content module. | 287 // it in the content module. |
| 287 quota::SpecialStoragePolicy* GetSpecialStoragePolicy(); | 288 quota::SpecialStoragePolicy* GetSpecialStoragePolicy(); |
| 288 | 289 |
| 289 protected: | 290 protected: |
| 290 base::Time start_time_; | 291 base::Time start_time_; |
| 291 scoped_ptr<PrefService> prefs_; | 292 scoped_ptr<PrefService> prefs_; |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 // testing. | 400 // testing. |
| 400 ProfileDependencyManager* profile_dependency_manager_; | 401 ProfileDependencyManager* profile_dependency_manager_; |
| 401 | 402 |
| 402 scoped_refptr<ChromeAppCacheService> appcache_service_; | 403 scoped_refptr<ChromeAppCacheService> appcache_service_; |
| 403 | 404 |
| 404 // The QuotaManager, only available if set explicitly via SetQuotaManager. | 405 // The QuotaManager, only available if set explicitly via SetQuotaManager. |
| 405 scoped_refptr<quota::QuotaManager> quota_manager_; | 406 scoped_refptr<quota::QuotaManager> quota_manager_; |
| 406 }; | 407 }; |
| 407 | 408 |
| 408 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 409 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |