| 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/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 class CookieMonster; | 27 class CookieMonster; |
| 28 class URLRequestContextGetter; | 28 class URLRequestContextGetter; |
| 29 } | 29 } |
| 30 | 30 |
| 31 namespace policy { | 31 namespace policy { |
| 32 class PolicyService; | 32 class PolicyService; |
| 33 class ProfilePolicyConnector; | 33 class ProfilePolicyConnector; |
| 34 class SchemaRegistryService; | 34 class SchemaRegistryService; |
| 35 } | 35 } |
| 36 | 36 |
| 37 namespace quota { | 37 namespace storage { |
| 38 class SpecialStoragePolicy; | 38 class SpecialStoragePolicy; |
| 39 } | 39 } |
| 40 | 40 |
| 41 class BrowserContextDependencyManager; | 41 class BrowserContextDependencyManager; |
| 42 class ExtensionSpecialStoragePolicy; | 42 class ExtensionSpecialStoragePolicy; |
| 43 class HostContentSettingsMap; | 43 class HostContentSettingsMap; |
| 44 class PrefServiceSyncable; | 44 class PrefServiceSyncable; |
| 45 class TestingPrefServiceSyncable; | 45 class TestingPrefServiceSyncable; |
| 46 | 46 |
| 47 class TestingProfile : public Profile { | 47 class TestingProfile : public Profile { |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 virtual content::DownloadManagerDelegate* | 216 virtual content::DownloadManagerDelegate* |
| 217 GetDownloadManagerDelegate() OVERRIDE; | 217 GetDownloadManagerDelegate() OVERRIDE; |
| 218 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 218 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
| 219 virtual net::URLRequestContextGetter* CreateRequestContext( | 219 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 220 content::ProtocolHandlerMap* protocol_handlers, | 220 content::ProtocolHandlerMap* protocol_handlers, |
| 221 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE; | 221 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE; |
| 222 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 222 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 223 int renderer_child_id) OVERRIDE; | 223 int renderer_child_id) OVERRIDE; |
| 224 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 224 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
| 225 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 225 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
| 226 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 226 virtual storage::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 227 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; | 227 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; |
| 228 virtual content::SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE; | 228 virtual content::SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE; |
| 229 | 229 |
| 230 virtual TestingProfile* AsTestingProfile() OVERRIDE; | 230 virtual TestingProfile* AsTestingProfile() OVERRIDE; |
| 231 | 231 |
| 232 // Profile | 232 // Profile |
| 233 virtual std::string GetProfileName() OVERRIDE; | 233 virtual std::string GetProfileName() OVERRIDE; |
| 234 virtual ProfileType GetProfileType() const OVERRIDE; | 234 virtual ProfileType GetProfileType() const OVERRIDE; |
| 235 | 235 |
| 236 // DEPRECATED, because it's fragile to change a profile from non-incognito | 236 // DEPRECATED, because it's fragile to change a profile from non-incognito |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 | 406 |
| 407 // Weak pointer to a delegate for indicating that a profile was created. | 407 // Weak pointer to a delegate for indicating that a profile was created. |
| 408 Delegate* delegate_; | 408 Delegate* delegate_; |
| 409 | 409 |
| 410 std::string profile_name_; | 410 std::string profile_name_; |
| 411 | 411 |
| 412 scoped_ptr<policy::PolicyService> policy_service_; | 412 scoped_ptr<policy::PolicyService> policy_service_; |
| 413 }; | 413 }; |
| 414 | 414 |
| 415 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 415 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |