| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 content::URLRequestInterceptorScopedVector request_interceptors) override; | 223 content::URLRequestInterceptorScopedVector request_interceptors) override; |
| 224 net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 224 net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 225 int renderer_child_id) override; | 225 int renderer_child_id) override; |
| 226 content::ResourceContext* GetResourceContext() override; | 226 content::ResourceContext* GetResourceContext() override; |
| 227 content::BrowserPluginGuestManager* GetGuestManager() override; | 227 content::BrowserPluginGuestManager* GetGuestManager() override; |
| 228 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 228 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
| 229 content::PushMessagingService* GetPushMessagingService() override; | 229 content::PushMessagingService* GetPushMessagingService() override; |
| 230 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; | 230 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; |
| 231 content::PermissionManager* GetPermissionManager() override; | 231 content::PermissionManager* GetPermissionManager() override; |
| 232 content::BackgroundSyncController* GetBackgroundSyncController() override; | 232 content::BackgroundSyncController* GetBackgroundSyncController() override; |
| 233 content::ChooserPermissionManager* GetChooserPermissionManager() override; |
| 233 | 234 |
| 234 TestingProfile* AsTestingProfile() override; | 235 TestingProfile* AsTestingProfile() override; |
| 235 | 236 |
| 236 // Profile | 237 // Profile |
| 237 std::string GetProfileUserName() const override; | 238 std::string GetProfileUserName() const override; |
| 238 ProfileType GetProfileType() const override; | 239 ProfileType GetProfileType() const override; |
| 239 | 240 |
| 240 // DEPRECATED, because it's fragile to change a profile from non-incognito | 241 // DEPRECATED, because it's fragile to change a profile from non-incognito |
| 241 // to incognito after the ProfileKeyedServices have been created (some | 242 // to incognito after the ProfileKeyedServices have been created (some |
| 242 // ProfileKeyedServices either should not exist in incognito mode, or will | 243 // ProfileKeyedServices either should not exist in incognito mode, or will |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 | 410 |
| 410 // Weak pointer to a delegate for indicating that a profile was created. | 411 // Weak pointer to a delegate for indicating that a profile was created. |
| 411 Delegate* delegate_; | 412 Delegate* delegate_; |
| 412 | 413 |
| 413 std::string profile_name_; | 414 std::string profile_name_; |
| 414 | 415 |
| 415 scoped_ptr<policy::PolicyService> policy_service_; | 416 scoped_ptr<policy::PolicyService> policy_service_; |
| 416 }; | 417 }; |
| 417 | 418 |
| 418 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 419 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |