| 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 quota::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 virtual double GetDefaultZoomLevel() const OVERRIDE; |
| 229 | 230 |
| 230 virtual TestingProfile* AsTestingProfile() OVERRIDE; | 231 virtual TestingProfile* AsTestingProfile() OVERRIDE; |
| 231 | 232 |
| 232 // Profile | 233 // Profile |
| 233 virtual std::string GetProfileName() OVERRIDE; | 234 virtual std::string GetProfileName() OVERRIDE; |
| 234 virtual ProfileType GetProfileType() const OVERRIDE; | 235 virtual ProfileType GetProfileType() const OVERRIDE; |
| 235 | 236 |
| 236 // DEPRECATED, because it's fragile to change a profile from non-incognito | 237 // DEPRECATED, because it's fragile to change a profile from non-incognito |
| 237 // to incognito after the ProfileKeyedServices have been created (some | 238 // to incognito after the ProfileKeyedServices have been created (some |
| 238 // ProfileKeyedServices either should not exist in incognito mode, or will | 239 // ProfileKeyedServices either should not exist in incognito mode, or will |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 | 407 |
| 407 // Weak pointer to a delegate for indicating that a profile was created. | 408 // Weak pointer to a delegate for indicating that a profile was created. |
| 408 Delegate* delegate_; | 409 Delegate* delegate_; |
| 409 | 410 |
| 410 std::string profile_name_; | 411 std::string profile_name_; |
| 411 | 412 |
| 412 scoped_ptr<policy::PolicyService> policy_service_; | 413 scoped_ptr<policy::PolicyService> policy_service_; |
| 413 }; | 414 }; |
| 414 | 415 |
| 415 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 416 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |