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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 // Assumes ownership. | 205 // Assumes ownership. |
206 virtual void SetOffTheRecordProfile(Profile* profile); | 206 virtual void SetOffTheRecordProfile(Profile* profile); |
207 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 207 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
208 virtual void DestroyOffTheRecordProfile() OVERRIDE {} | 208 virtual void DestroyOffTheRecordProfile() OVERRIDE {} |
209 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; | 209 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; |
210 virtual bool HasOffTheRecordProfile() OVERRIDE; | 210 virtual bool HasOffTheRecordProfile() OVERRIDE; |
211 virtual Profile* GetOriginalProfile() OVERRIDE; | 211 virtual Profile* GetOriginalProfile() OVERRIDE; |
212 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; | 212 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; |
213 virtual ExtensionService* GetExtensionService() OVERRIDE; | 213 virtual ExtensionService* GetExtensionService() OVERRIDE; |
214 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE; | 214 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE; |
215 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE; | |
216 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE; | 215 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE; |
217 void SetExtensionSpecialStoragePolicy( | 216 void SetExtensionSpecialStoragePolicy( |
218 ExtensionSpecialStoragePolicy* extension_special_storage_policy); | 217 ExtensionSpecialStoragePolicy* extension_special_storage_policy); |
219 virtual ExtensionSpecialStoragePolicy* | 218 virtual ExtensionSpecialStoragePolicy* |
220 GetExtensionSpecialStoragePolicy() OVERRIDE; | 219 GetExtensionSpecialStoragePolicy() OVERRIDE; |
221 // The CookieMonster will only be returned if a Context has been created. Do | 220 // The CookieMonster will only be returned if a Context has been created. Do |
222 // this by calling CreateRequestContext(). See the note at GetRequestContext | 221 // this by calling CreateRequestContext(). See the note at GetRequestContext |
223 // for more information. | 222 // for more information. |
224 net::CookieMonster* GetCookieMonster(); | 223 net::CookieMonster* GetCookieMonster(); |
225 | 224 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 // testing. | 365 // testing. |
367 ProfileDependencyManager* profile_dependency_manager_; | 366 ProfileDependencyManager* profile_dependency_manager_; |
368 | 367 |
369 scoped_ptr<content::MockResourceContext> resource_context_; | 368 scoped_ptr<content::MockResourceContext> resource_context_; |
370 | 369 |
371 // Weak pointer to a delegate for indicating that a profile was created. | 370 // Weak pointer to a delegate for indicating that a profile was created. |
372 Delegate* delegate_; | 371 Delegate* delegate_; |
373 }; | 372 }; |
374 | 373 |
375 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 374 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |