| 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 |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/scoped_temp_dir.h" | 13 #include "base/scoped_temp_dir.h" |
| 14 #include "base/timer.h" | 14 #include "base/timer.h" |
| 15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
| 16 #include "content/browser/appcache/chrome_appcache_service.h" | 16 #include "content/browser/appcache/chrome_appcache_service.h" |
| 17 | 17 |
| 18 namespace content { | |
| 19 class ResourceContextGetter; | |
| 20 } | |
| 21 | |
| 22 namespace history { | 18 namespace history { |
| 23 class TopSites; | 19 class TopSites; |
| 24 } | 20 } |
| 25 | 21 |
| 26 namespace net { | 22 namespace net { |
| 27 class CookieMonster; | 23 class CookieMonster; |
| 28 } | 24 } |
| 29 | 25 |
| 30 namespace quota { | 26 namespace quota { |
| 31 class SpecialStoragePolicy; | 27 class SpecialStoragePolicy; |
| 32 } | 28 } |
| 33 | 29 |
| 34 class AutocompleteClassifier; | 30 class AutocompleteClassifier; |
| 35 class BookmarkModel; | 31 class BookmarkModel; |
| 36 class CommandLine; | 32 class CommandLine; |
| 37 class ExtensionPrefs; | 33 class ExtensionPrefs; |
| 38 class ExtensionPrefStore; | |
| 39 class ExtensionPrefValueMap; | 34 class ExtensionPrefValueMap; |
| 40 class ExtensionSpecialStoragePolicy; | 35 class ExtensionSpecialStoragePolicy; |
| 41 class FaviconService; | 36 class FaviconService; |
| 42 class FindBarState; | 37 class FindBarState; |
| 43 class GeolocationPermissionContext; | 38 class GeolocationPermissionContext; |
| 44 class HistoryService; | 39 class HistoryService; |
| 45 class HostContentSettingsMap; | 40 class HostContentSettingsMap; |
| 46 class PrefService; | 41 class PrefService; |
| 47 class ProfileDependencyManager; | 42 class ProfileDependencyManager; |
| 48 class ProfileSyncService; | 43 class ProfileSyncService; |
| 49 class SpeechInputPreferences; | 44 class SpeechInputPreferences; |
| 50 class TemplateURLService; | 45 class TemplateURLService; |
| 51 class TestingPrefService; | 46 class TestingPrefService; |
| 52 class ThemeService; | |
| 53 class WebKitContext; | 47 class WebKitContext; |
| 54 | 48 |
| 55 namespace net { | 49 namespace net { |
| 56 class URLRequestContextGetter; | 50 class URLRequestContextGetter; |
| 57 } | 51 } |
| 58 | 52 |
| 59 class TestingProfile : public Profile { | 53 class TestingProfile : public Profile { |
| 60 public: | 54 public: |
| 61 // Default constructor that cannot be used with multi-profiles. | 55 // Default constructor that cannot be used with multi-profiles. |
| 62 TestingProfile(); | 56 TestingProfile(); |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 // testing. | 402 // testing. |
| 409 ProfileDependencyManager* profile_dependency_manager_; | 403 ProfileDependencyManager* profile_dependency_manager_; |
| 410 | 404 |
| 411 scoped_refptr<ChromeAppCacheService> appcache_service_; | 405 scoped_refptr<ChromeAppCacheService> appcache_service_; |
| 412 | 406 |
| 413 // The QuotaManager, only available if set explicitly via SetQuotaManager. | 407 // The QuotaManager, only available if set explicitly via SetQuotaManager. |
| 414 scoped_refptr<quota::QuotaManager> quota_manager_; | 408 scoped_refptr<quota::QuotaManager> quota_manager_; |
| 415 }; | 409 }; |
| 416 | 410 |
| 417 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 411 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |