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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 virtual void SetOffTheRecordProfile(Profile* profile); | 148 virtual void SetOffTheRecordProfile(Profile* profile); |
149 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 149 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
150 virtual void DestroyOffTheRecordProfile() OVERRIDE {} | 150 virtual void DestroyOffTheRecordProfile() OVERRIDE {} |
151 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; | 151 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; |
152 virtual bool HasOffTheRecordProfile() OVERRIDE; | 152 virtual bool HasOffTheRecordProfile() OVERRIDE; |
153 virtual Profile* GetOriginalProfile() OVERRIDE; | 153 virtual Profile* GetOriginalProfile() OVERRIDE; |
154 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; | 154 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; |
155 virtual ExtensionService* GetExtensionService() OVERRIDE; | 155 virtual ExtensionService* GetExtensionService() OVERRIDE; |
156 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE; | 156 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE; |
157 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE; | 157 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE; |
158 virtual ExtensionEventRouter* GetExtensionEventRouter() OVERRIDE; | 158 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE; |
159 void SetExtensionSpecialStoragePolicy( | 159 void SetExtensionSpecialStoragePolicy( |
160 ExtensionSpecialStoragePolicy* extension_special_storage_policy); | 160 ExtensionSpecialStoragePolicy* extension_special_storage_policy); |
161 virtual ExtensionSpecialStoragePolicy* | 161 virtual ExtensionSpecialStoragePolicy* |
162 GetExtensionSpecialStoragePolicy() OVERRIDE; | 162 GetExtensionSpecialStoragePolicy() OVERRIDE; |
163 virtual FaviconService* GetFaviconService(ServiceAccessType access) OVERRIDE; | 163 virtual FaviconService* GetFaviconService(ServiceAccessType access) OVERRIDE; |
164 virtual HistoryService* GetHistoryService(ServiceAccessType access) OVERRIDE; | 164 virtual HistoryService* GetHistoryService(ServiceAccessType access) OVERRIDE; |
165 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE; | 165 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE; |
166 // The CookieMonster will only be returned if a Context has been created. Do | 166 // The CookieMonster will only be returned if a Context has been created. Do |
167 // this by calling CreateRequestContext(). See the note at GetRequestContext | 167 // this by calling CreateRequestContext(). See the note at GetRequestContext |
168 // for more information. | 168 // for more information. |
(...skipping 133 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 |