| 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 void set_incognito(bool incognito) { incognito_ = incognito; } | 141 void set_incognito(bool incognito) { incognito_ = incognito; } |
| 142 // Assumes ownership. | 142 // Assumes ownership. |
| 143 virtual void SetOffTheRecordProfile(Profile* profile); | 143 virtual void SetOffTheRecordProfile(Profile* profile); |
| 144 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 144 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
| 145 virtual void DestroyOffTheRecordProfile() OVERRIDE {} | 145 virtual void DestroyOffTheRecordProfile() OVERRIDE {} |
| 146 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; | 146 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; |
| 147 virtual bool HasOffTheRecordProfile() OVERRIDE; | 147 virtual bool HasOffTheRecordProfile() OVERRIDE; |
| 148 virtual Profile* GetOriginalProfile() OVERRIDE; | 148 virtual Profile* GetOriginalProfile() OVERRIDE; |
| 149 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; | 149 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; |
| 150 virtual ExtensionService* GetExtensionService() OVERRIDE; | 150 virtual ExtensionService* GetExtensionService() OVERRIDE; |
| 151 virtual UserScriptMaster* GetUserScriptMaster() OVERRIDE; | 151 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE; |
| 152 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE; | 152 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE; |
| 153 virtual ExtensionEventRouter* GetExtensionEventRouter() OVERRIDE; | 153 virtual ExtensionEventRouter* GetExtensionEventRouter() OVERRIDE; |
| 154 void SetExtensionSpecialStoragePolicy( | 154 void SetExtensionSpecialStoragePolicy( |
| 155 ExtensionSpecialStoragePolicy* extension_special_storage_policy); | 155 ExtensionSpecialStoragePolicy* extension_special_storage_policy); |
| 156 virtual ExtensionSpecialStoragePolicy* | 156 virtual ExtensionSpecialStoragePolicy* |
| 157 GetExtensionSpecialStoragePolicy() OVERRIDE; | 157 GetExtensionSpecialStoragePolicy() OVERRIDE; |
| 158 virtual FaviconService* GetFaviconService(ServiceAccessType access) OVERRIDE; | 158 virtual FaviconService* GetFaviconService(ServiceAccessType access) OVERRIDE; |
| 159 virtual HistoryService* GetHistoryService(ServiceAccessType access) OVERRIDE; | 159 virtual HistoryService* GetHistoryService(ServiceAccessType access) OVERRIDE; |
| 160 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE; | 160 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE; |
| 161 // The CookieMonster will only be returned if a Context has been created. Do | 161 // The CookieMonster will only be returned if a Context has been created. Do |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 // testing. | 302 // testing. |
| 303 ProfileDependencyManager* profile_dependency_manager_; | 303 ProfileDependencyManager* profile_dependency_manager_; |
| 304 | 304 |
| 305 scoped_ptr<content::MockResourceContext> resource_context_; | 305 scoped_ptr<content::MockResourceContext> resource_context_; |
| 306 | 306 |
| 307 // Weak pointer to a delegate for indicating that a profile was created. | 307 // Weak pointer to a delegate for indicating that a profile was created. |
| 308 Delegate* delegate_; | 308 Delegate* delegate_; |
| 309 }; | 309 }; |
| 310 | 310 |
| 311 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 311 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |