| 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 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 net::URLRequestContextGetter* CreateRequestContext( | 231 net::URLRequestContextGetter* CreateRequestContext( |
| 232 content::ProtocolHandlerMap* protocol_handlers, | 232 content::ProtocolHandlerMap* protocol_handlers, |
| 233 content::URLRequestInterceptorScopedVector request_interceptors) override; | 233 content::URLRequestInterceptorScopedVector request_interceptors) override; |
| 234 net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 234 net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 235 int renderer_child_id) override; | 235 int renderer_child_id) override; |
| 236 content::ResourceContext* GetResourceContext() override; | 236 content::ResourceContext* GetResourceContext() override; |
| 237 content::BrowserPluginGuestManager* GetGuestManager() override; | 237 content::BrowserPluginGuestManager* GetGuestManager() override; |
| 238 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 238 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
| 239 content::PushMessagingService* GetPushMessagingService() override; | 239 content::PushMessagingService* GetPushMessagingService() override; |
| 240 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; | 240 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; |
| 241 content::PermissionManager* GetPermissionManager() override; |
| 241 | 242 |
| 242 TestingProfile* AsTestingProfile() override; | 243 TestingProfile* AsTestingProfile() override; |
| 243 | 244 |
| 244 // Profile | 245 // Profile |
| 245 std::string GetProfileUserName() const override; | 246 std::string GetProfileUserName() const override; |
| 246 ProfileType GetProfileType() const override; | 247 ProfileType GetProfileType() const override; |
| 247 | 248 |
| 248 // DEPRECATED, because it's fragile to change a profile from non-incognito | 249 // DEPRECATED, because it's fragile to change a profile from non-incognito |
| 249 // to incognito after the ProfileKeyedServices have been created (some | 250 // to incognito after the ProfileKeyedServices have been created (some |
| 250 // ProfileKeyedServices either should not exist in incognito mode, or will | 251 // ProfileKeyedServices either should not exist in incognito mode, or will |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 | 412 |
| 412 // Weak pointer to a delegate for indicating that a profile was created. | 413 // Weak pointer to a delegate for indicating that a profile was created. |
| 413 Delegate* delegate_; | 414 Delegate* delegate_; |
| 414 | 415 |
| 415 std::string profile_name_; | 416 std::string profile_name_; |
| 416 | 417 |
| 417 scoped_ptr<policy::PolicyService> policy_service_; | 418 scoped_ptr<policy::PolicyService> policy_service_; |
| 418 }; | 419 }; |
| 419 | 420 |
| 420 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 421 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |