| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 virtual ProfileSyncService* GetProfileSyncService() OVERRIDE; | 286 virtual ProfileSyncService* GetProfileSyncService() OVERRIDE; |
| 287 virtual ProfileSyncService* GetProfileSyncService( | 287 virtual ProfileSyncService* GetProfileSyncService( |
| 288 const std::string& cros_notes) OVERRIDE; | 288 const std::string& cros_notes) OVERRIDE; |
| 289 virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE; | 289 virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE; |
| 290 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE; | 290 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE; |
| 291 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE; | 291 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE; |
| 292 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE; | 292 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE; |
| 293 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 293 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
| 294 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; | 294 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; |
| 295 virtual GURL GetHomePage() OVERRIDE; | 295 virtual GURL GetHomePage() OVERRIDE; |
| 296 virtual NetworkActionPredictor* GetNetworkActionPredictor() OVERRIDE; | |
| 297 | 296 |
| 298 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; | 297 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; |
| 299 | 298 |
| 300 // TODO(jam): remove me once webkit_context_unittest.cc doesn't use Profile | 299 // TODO(jam): remove me once webkit_context_unittest.cc doesn't use Profile |
| 301 // and gets the quota::SpecialStoragePolicy* from whatever ends up replacing | 300 // and gets the quota::SpecialStoragePolicy* from whatever ends up replacing |
| 302 // it in the content module. | 301 // it in the content module. |
| 303 quota::SpecialStoragePolicy* GetSpecialStoragePolicy(); | 302 quota::SpecialStoragePolicy* GetSpecialStoragePolicy(); |
| 304 | 303 |
| 305 protected: | 304 protected: |
| 306 base::Time start_time_; | 305 base::Time start_time_; |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 scoped_refptr<ChromeAppCacheService> appcache_service_; | 422 scoped_refptr<ChromeAppCacheService> appcache_service_; |
| 424 | 423 |
| 425 // The QuotaManager, only available if set explicitly via SetQuotaManager. | 424 // The QuotaManager, only available if set explicitly via SetQuotaManager. |
| 426 scoped_refptr<quota::QuotaManager> quota_manager_; | 425 scoped_refptr<quota::QuotaManager> quota_manager_; |
| 427 | 426 |
| 428 // Weak pointer to a delegate for indicating that a profile was created. | 427 // Weak pointer to a delegate for indicating that a profile was created. |
| 429 Delegate* delegate_; | 428 Delegate* delegate_; |
| 430 }; | 429 }; |
| 431 | 430 |
| 432 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 431 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |