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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_; |
293 // ref only for right type, lifecycle is managed by prefs_ | 293 // ref only for right type, lifecycle is managed by prefs_ |
294 TestingPrefService* testing_prefs_; | 294 TestingPrefService* testing_prefs_; |
295 | 295 |
296 private: | 296 private: |
| 297 virtual void SetDownloadManagerDelegate( |
| 298 ChromeDownloadManagerDelegate* delegate); |
| 299 |
297 // Common initialization between the two constructors. | 300 // Common initialization between the two constructors. |
298 void Init(); | 301 void Init(); |
299 | 302 |
300 // Destroys favicon service if it has been created. | 303 // Destroys favicon service if it has been created. |
301 void DestroyFaviconService(); | 304 void DestroyFaviconService(); |
302 | 305 |
303 // If the webdata service has been created, it is destroyed. This is invoked | 306 // If the webdata service has been created, it is destroyed. This is invoked |
304 // from the destructor. | 307 // from the destructor. |
305 void DestroyWebDataService(); | 308 void DestroyWebDataService(); |
306 | 309 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 // testing. | 407 // testing. |
405 ProfileDependencyManager* profile_dependency_manager_; | 408 ProfileDependencyManager* profile_dependency_manager_; |
406 | 409 |
407 scoped_refptr<ChromeAppCacheService> appcache_service_; | 410 scoped_refptr<ChromeAppCacheService> appcache_service_; |
408 | 411 |
409 // The QuotaManager, only available if set explicitly via SetQuotaManager. | 412 // The QuotaManager, only available if set explicitly via SetQuotaManager. |
410 scoped_refptr<quota::QuotaManager> quota_manager_; | 413 scoped_refptr<quota::QuotaManager> quota_manager_; |
411 }; | 414 }; |
412 | 415 |
413 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 416 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |