| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 18 matching lines...) Expand all Loading... |
| 29 } | 29 } |
| 30 | 30 |
| 31 namespace quota { | 31 namespace quota { |
| 32 class SpecialStoragePolicy; | 32 class SpecialStoragePolicy; |
| 33 } | 33 } |
| 34 | 34 |
| 35 class AutocompleteClassifier; | 35 class AutocompleteClassifier; |
| 36 class BookmarkModel; | 36 class BookmarkModel; |
| 37 class CommandLine; | 37 class CommandLine; |
| 38 class ExtensionPrefs; | 38 class ExtensionPrefs; |
| 39 class ExtensionPrefValueMap; | |
| 40 class ExtensionSpecialStoragePolicy; | 39 class ExtensionSpecialStoragePolicy; |
| 41 class FaviconService; | 40 class FaviconService; |
| 42 class HistoryService; | 41 class HistoryService; |
| 43 class HostContentSettingsMap; | 42 class HostContentSettingsMap; |
| 44 class PrefService; | 43 class PrefService; |
| 45 class ProfileDependencyManager; | 44 class ProfileDependencyManager; |
| 46 class ProfileSyncService; | 45 class ProfileSyncService; |
| 47 class TemplateURLService; | 46 class TemplateURLService; |
| 48 class TestingPrefService; | 47 class TestingPrefService; |
| 49 | 48 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 virtual std::string GetProfileName() OVERRIDE; | 155 virtual std::string GetProfileName() OVERRIDE; |
| 157 void set_incognito(bool incognito) { incognito_ = incognito; } | 156 void set_incognito(bool incognito) { incognito_ = incognito; } |
| 158 // Assumes ownership. | 157 // Assumes ownership. |
| 159 virtual void SetOffTheRecordProfile(Profile* profile); | 158 virtual void SetOffTheRecordProfile(Profile* profile); |
| 160 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 159 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
| 161 virtual void DestroyOffTheRecordProfile() OVERRIDE {} | 160 virtual void DestroyOffTheRecordProfile() OVERRIDE {} |
| 162 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; | 161 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; |
| 163 virtual bool HasOffTheRecordProfile() OVERRIDE; | 162 virtual bool HasOffTheRecordProfile() OVERRIDE; |
| 164 virtual Profile* GetOriginalProfile() OVERRIDE; | 163 virtual Profile* GetOriginalProfile() OVERRIDE; |
| 165 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; | 164 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; |
| 166 virtual ExtensionPrefValueMap* GetExtensionPrefValueMap() OVERRIDE; | |
| 167 virtual ExtensionService* GetExtensionService() OVERRIDE; | 165 virtual ExtensionService* GetExtensionService() OVERRIDE; |
| 168 virtual UserScriptMaster* GetUserScriptMaster() OVERRIDE; | 166 virtual UserScriptMaster* GetUserScriptMaster() OVERRIDE; |
| 169 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE; | 167 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE; |
| 170 virtual ExtensionEventRouter* GetExtensionEventRouter() OVERRIDE; | 168 virtual ExtensionEventRouter* GetExtensionEventRouter() OVERRIDE; |
| 171 void SetExtensionSpecialStoragePolicy( | 169 void SetExtensionSpecialStoragePolicy( |
| 172 ExtensionSpecialStoragePolicy* extension_special_storage_policy); | 170 ExtensionSpecialStoragePolicy* extension_special_storage_policy); |
| 173 virtual ExtensionSpecialStoragePolicy* | 171 virtual ExtensionSpecialStoragePolicy* |
| 174 GetExtensionSpecialStoragePolicy() OVERRIDE; | 172 GetExtensionSpecialStoragePolicy() OVERRIDE; |
| 175 virtual FaviconService* GetFaviconService(ServiceAccessType access) OVERRIDE; | 173 virtual FaviconService* GetFaviconService(ServiceAccessType access) OVERRIDE; |
| 176 virtual HistoryService* GetHistoryService(ServiceAccessType access) OVERRIDE; | 174 virtual HistoryService* GetHistoryService(ServiceAccessType access) OVERRIDE; |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 // testing. | 341 // testing. |
| 344 ProfileDependencyManager* profile_dependency_manager_; | 342 ProfileDependencyManager* profile_dependency_manager_; |
| 345 | 343 |
| 346 scoped_ptr<content::MockResourceContext> resource_context_; | 344 scoped_ptr<content::MockResourceContext> resource_context_; |
| 347 | 345 |
| 348 // Weak pointer to a delegate for indicating that a profile was created. | 346 // Weak pointer to a delegate for indicating that a profile was created. |
| 349 Delegate* delegate_; | 347 Delegate* delegate_; |
| 350 }; | 348 }; |
| 351 | 349 |
| 352 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 350 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |