| 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 GetDownloadManagerDelegate() OVERRIDE; | 215 GetDownloadManagerDelegate() OVERRIDE; |
| 216 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 216 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
| 217 virtual net::URLRequestContextGetter* CreateRequestContext( | 217 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 218 content::ProtocolHandlerMap* protocol_handlers, | 218 content::ProtocolHandlerMap* protocol_handlers, |
| 219 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; | 219 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; |
| 220 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 220 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 221 int renderer_child_id) OVERRIDE; | 221 int renderer_child_id) OVERRIDE; |
| 222 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 222 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
| 223 virtual content::GeolocationPermissionContext* | 223 virtual content::GeolocationPermissionContext* |
| 224 GetGeolocationPermissionContext() OVERRIDE; | 224 GetGeolocationPermissionContext() OVERRIDE; |
| 225 virtual content::BrowserPluginGuestManagerDelegate* |
| 226 GetGuestManagerDelegate() OVERRIDE; |
| 225 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 227 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 226 | 228 |
| 227 virtual TestingProfile* AsTestingProfile() OVERRIDE; | 229 virtual TestingProfile* AsTestingProfile() OVERRIDE; |
| 228 | 230 |
| 229 // Profile | 231 // Profile |
| 230 virtual std::string GetProfileName() OVERRIDE; | 232 virtual std::string GetProfileName() OVERRIDE; |
| 231 virtual ProfileType GetProfileType() const OVERRIDE; | 233 virtual ProfileType GetProfileType() const OVERRIDE; |
| 232 | 234 |
| 233 // DEPRECATED, because it's fragile to change a profile from non-incognito | 235 // DEPRECATED, because it's fragile to change a profile from non-incognito |
| 234 // to incognito after the ProfileKeyedServices have been created (some | 236 // to incognito after the ProfileKeyedServices have been created (some |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 | 433 |
| 432 // Weak pointer to a delegate for indicating that a profile was created. | 434 // Weak pointer to a delegate for indicating that a profile was created. |
| 433 Delegate* delegate_; | 435 Delegate* delegate_; |
| 434 | 436 |
| 435 std::string profile_name_; | 437 std::string profile_name_; |
| 436 | 438 |
| 437 scoped_ptr<policy::PolicyService> policy_service_; | 439 scoped_ptr<policy::PolicyService> policy_service_; |
| 438 }; | 440 }; |
| 439 | 441 |
| 440 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 442 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |