| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 virtual std::string GetProfileName() OVERRIDE; | 203 virtual std::string GetProfileName() OVERRIDE; |
| 204 void set_incognito(bool incognito) { incognito_ = incognito; } | 204 void set_incognito(bool incognito) { incognito_ = incognito; } |
| 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 ExtensionService* GetExtensionService() OVERRIDE; | 212 virtual ExtensionService* GetExtensionService() OVERRIDE; |
| 213 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE; | |
| 214 void SetExtensionSpecialStoragePolicy( | 213 void SetExtensionSpecialStoragePolicy( |
| 215 ExtensionSpecialStoragePolicy* extension_special_storage_policy); | 214 ExtensionSpecialStoragePolicy* extension_special_storage_policy); |
| 216 virtual ExtensionSpecialStoragePolicy* | 215 virtual ExtensionSpecialStoragePolicy* |
| 217 GetExtensionSpecialStoragePolicy() OVERRIDE; | 216 GetExtensionSpecialStoragePolicy() OVERRIDE; |
| 218 // The CookieMonster will only be returned if a Context has been created. Do | 217 // The CookieMonster will only be returned if a Context has been created. Do |
| 219 // this by calling CreateRequestContext(). See the note at GetRequestContext | 218 // this by calling CreateRequestContext(). See the note at GetRequestContext |
| 220 // for more information. | 219 // for more information. |
| 221 net::CookieMonster* GetCookieMonster(); | 220 net::CookieMonster* GetCookieMonster(); |
| 222 | 221 |
| 223 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE; | 222 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 // testing. | 362 // testing. |
| 364 ProfileDependencyManager* profile_dependency_manager_; | 363 ProfileDependencyManager* profile_dependency_manager_; |
| 365 | 364 |
| 366 scoped_ptr<content::MockResourceContext> resource_context_; | 365 scoped_ptr<content::MockResourceContext> resource_context_; |
| 367 | 366 |
| 368 // Weak pointer to a delegate for indicating that a profile was created. | 367 // Weak pointer to a delegate for indicating that a profile was created. |
| 369 Delegate* delegate_; | 368 Delegate* delegate_; |
| 370 }; | 369 }; |
| 371 | 370 |
| 372 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 371 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |