| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 virtual ExtensionService* GetExtensionService(); | 159 virtual ExtensionService* GetExtensionService(); |
| 160 virtual UserScriptMaster* GetUserScriptMaster(); | 160 virtual UserScriptMaster* GetUserScriptMaster(); |
| 161 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager(); | 161 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager(); |
| 162 virtual ExtensionProcessManager* GetExtensionProcessManager(); | 162 virtual ExtensionProcessManager* GetExtensionProcessManager(); |
| 163 virtual ExtensionMessageService* GetExtensionMessageService(); | 163 virtual ExtensionMessageService* GetExtensionMessageService(); |
| 164 virtual ExtensionEventRouter* GetExtensionEventRouter(); | 164 virtual ExtensionEventRouter* GetExtensionEventRouter(); |
| 165 void SetExtensionSpecialStoragePolicy( | 165 void SetExtensionSpecialStoragePolicy( |
| 166 ExtensionSpecialStoragePolicy* extension_special_storage_policy); | 166 ExtensionSpecialStoragePolicy* extension_special_storage_policy); |
| 167 virtual ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy(); | 167 virtual ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy(); |
| 168 virtual SSLHostState* GetSSLHostState(); | 168 virtual SSLHostState* GetSSLHostState(); |
| 169 virtual net::TransportSecurityState* GetTransportSecurityState(); | |
| 170 virtual FaviconService* GetFaviconService(ServiceAccessType access); | 169 virtual FaviconService* GetFaviconService(ServiceAccessType access); |
| 171 virtual HistoryService* GetHistoryService(ServiceAccessType access); | 170 virtual HistoryService* GetHistoryService(ServiceAccessType access); |
| 172 virtual HistoryService* GetHistoryServiceWithoutCreating(); | 171 virtual HistoryService* GetHistoryServiceWithoutCreating(); |
| 173 // The CookieMonster will only be returned if a Context has been created. Do | 172 // The CookieMonster will only be returned if a Context has been created. Do |
| 174 // this by calling CreateRequestContext(). See the note at GetRequestContext | 173 // this by calling CreateRequestContext(). See the note at GetRequestContext |
| 175 // for more information. | 174 // for more information. |
| 176 net::CookieMonster* GetCookieMonster(); | 175 net::CookieMonster* GetCookieMonster(); |
| 177 virtual AutocompleteClassifier* GetAutocompleteClassifier(); | 176 virtual AutocompleteClassifier* GetAutocompleteClassifier(); |
| 178 virtual history::ShortcutsBackend* GetShortcutsBackend(); | 177 virtual history::ShortcutsBackend* GetShortcutsBackend(); |
| 179 virtual WebDataService* GetWebDataService(ServiceAccessType access); | 178 virtual WebDataService* GetWebDataService(ServiceAccessType access); |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 virtual TokenService* GetTokenService(); | 273 virtual TokenService* GetTokenService(); |
| 275 virtual ProfileSyncService* GetProfileSyncService(); | 274 virtual ProfileSyncService* GetProfileSyncService(); |
| 276 virtual ProfileSyncService* GetProfileSyncService( | 275 virtual ProfileSyncService* GetProfileSyncService( |
| 277 const std::string& cros_notes); | 276 const std::string& cros_notes); |
| 278 virtual ChromeBlobStorageContext* GetBlobStorageContext(); | 277 virtual ChromeBlobStorageContext* GetBlobStorageContext(); |
| 279 virtual ExtensionInfoMap* GetExtensionInfoMap(); | 278 virtual ExtensionInfoMap* GetExtensionInfoMap(); |
| 280 virtual PromoCounter* GetInstantPromoCounter(); | 279 virtual PromoCounter* GetInstantPromoCounter(); |
| 281 virtual ChromeURLDataManager* GetChromeURLDataManager(); | 280 virtual ChromeURLDataManager* GetChromeURLDataManager(); |
| 282 virtual prerender::PrerenderManager* GetPrerenderManager(); | 281 virtual prerender::PrerenderManager* GetPrerenderManager(); |
| 283 virtual chrome_browser_net::Predictor* GetNetworkPredictor(); | 282 virtual chrome_browser_net::Predictor* GetNetworkPredictor(); |
| 283 virtual void DeleteTransportSecurityStateSince(const base::Time& time); |
| 284 virtual PrefService* GetOffTheRecordPrefs(); | 284 virtual PrefService* GetOffTheRecordPrefs(); |
| 285 | 285 |
| 286 // TODO(jam): remove me once webkit_context_unittest.cc doesn't use Profile | 286 // TODO(jam): remove me once webkit_context_unittest.cc doesn't use Profile |
| 287 // and gets the quota::SpecialStoragePolicy* from whatever ends up replacing | 287 // and gets the quota::SpecialStoragePolicy* from whatever ends up replacing |
| 288 // it in the content module. | 288 // it in the content module. |
| 289 quota::SpecialStoragePolicy* GetSpecialStoragePolicy(); | 289 quota::SpecialStoragePolicy* GetSpecialStoragePolicy(); |
| 290 | 290 |
| 291 protected: | 291 protected: |
| 292 base::Time start_time_; | 292 base::Time start_time_; |
| 293 scoped_ptr<PrefService> prefs_; | 293 scoped_ptr<PrefService> prefs_; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 // testing. | 408 // testing. |
| 409 ProfileDependencyManager* profile_dependency_manager_; | 409 ProfileDependencyManager* profile_dependency_manager_; |
| 410 | 410 |
| 411 scoped_refptr<ChromeAppCacheService> appcache_service_; | 411 scoped_refptr<ChromeAppCacheService> appcache_service_; |
| 412 | 412 |
| 413 // The QuotaManager, only available if set explicitly via SetQuotaManager. | 413 // The QuotaManager, only available if set explicitly via SetQuotaManager. |
| 414 scoped_refptr<quota::QuotaManager> quota_manager_; | 414 scoped_refptr<quota::QuotaManager> quota_manager_; |
| 415 }; | 415 }; |
| 416 | 416 |
| 417 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 417 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |