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* | 225 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
226 GetGuestManagerDelegate() OVERRIDE; | |
227 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 226 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
228 | 227 |
229 virtual TestingProfile* AsTestingProfile() OVERRIDE; | 228 virtual TestingProfile* AsTestingProfile() OVERRIDE; |
230 | 229 |
231 // Profile | 230 // Profile |
232 virtual std::string GetProfileName() OVERRIDE; | 231 virtual std::string GetProfileName() OVERRIDE; |
233 virtual ProfileType GetProfileType() const OVERRIDE; | 232 virtual ProfileType GetProfileType() const OVERRIDE; |
234 | 233 |
235 // DEPRECATED, because it's fragile to change a profile from non-incognito | 234 // DEPRECATED, because it's fragile to change a profile from non-incognito |
236 // to incognito after the ProfileKeyedServices have been created (some | 235 // to incognito after the ProfileKeyedServices have been created (some |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 | 432 |
434 // Weak pointer to a delegate for indicating that a profile was created. | 433 // Weak pointer to a delegate for indicating that a profile was created. |
435 Delegate* delegate_; | 434 Delegate* delegate_; |
436 | 435 |
437 std::string profile_name_; | 436 std::string profile_name_; |
438 | 437 |
439 scoped_ptr<policy::PolicyService> policy_service_; | 438 scoped_ptr<policy::PolicyService> policy_service_; |
440 }; | 439 }; |
441 | 440 |
442 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 441 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |