| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 virtual bool IsOffTheRecord() const OVERRIDE; | 208 virtual bool IsOffTheRecord() const OVERRIDE; |
| 209 virtual content::DownloadManagerDelegate* | 209 virtual content::DownloadManagerDelegate* |
| 210 GetDownloadManagerDelegate() OVERRIDE; | 210 GetDownloadManagerDelegate() OVERRIDE; |
| 211 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 211 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
| 212 virtual net::URLRequestContextGetter* CreateRequestContext( | 212 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 213 content::ProtocolHandlerMap* protocol_handlers, | 213 content::ProtocolHandlerMap* protocol_handlers, |
| 214 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE; | 214 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE; |
| 215 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 215 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 216 int renderer_child_id) OVERRIDE; | 216 int renderer_child_id) OVERRIDE; |
| 217 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 217 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
| 218 virtual content::GeolocationPermissionContext* | |
| 219 GetGeolocationPermissionContext() OVERRIDE; | |
| 220 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 218 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
| 221 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 219 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 222 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; | 220 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; |
| 223 | 221 |
| 224 virtual TestingProfile* AsTestingProfile() OVERRIDE; | 222 virtual TestingProfile* AsTestingProfile() OVERRIDE; |
| 225 | 223 |
| 226 // Profile | 224 // Profile |
| 227 virtual std::string GetProfileName() OVERRIDE; | 225 virtual std::string GetProfileName() OVERRIDE; |
| 228 virtual ProfileType GetProfileType() const OVERRIDE; | 226 virtual ProfileType GetProfileType() const OVERRIDE; |
| 229 | 227 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 | 420 |
| 423 // Weak pointer to a delegate for indicating that a profile was created. | 421 // Weak pointer to a delegate for indicating that a profile was created. |
| 424 Delegate* delegate_; | 422 Delegate* delegate_; |
| 425 | 423 |
| 426 std::string profile_name_; | 424 std::string profile_name_; |
| 427 | 425 |
| 428 scoped_ptr<policy::PolicyService> policy_service_; | 426 scoped_ptr<policy::PolicyService> policy_service_; |
| 429 }; | 427 }; |
| 430 | 428 |
| 431 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 429 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |