| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 224 |
| 225 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 225 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
| 226 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 226 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 227 int renderer_child_id) OVERRIDE; | 227 int renderer_child_id) OVERRIDE; |
| 228 virtual net::URLRequestContextGetter* | 228 virtual net::URLRequestContextGetter* |
| 229 GetRequestContextForExtensions() OVERRIDE; | 229 GetRequestContextForExtensions() OVERRIDE; |
| 230 virtual net::URLRequestContextGetter* | 230 virtual net::URLRequestContextGetter* |
| 231 GetMediaRequestContextForStoragePartition( | 231 GetMediaRequestContextForStoragePartition( |
| 232 const base::FilePath& partition_path, | 232 const base::FilePath& partition_path, |
| 233 bool in_memory) OVERRIDE; | 233 bool in_memory) OVERRIDE; |
| 234 virtual void RequestMIDISysExPermission( |
| 235 int render_process_id, |
| 236 int render_view_id, |
| 237 const GURL& requesting_frame, |
| 238 const MIDISysExPermissionCallback& callback) OVERRIDE; |
| 234 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 239 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 235 const base::FilePath& partition_path, | 240 const base::FilePath& partition_path, |
| 236 bool in_memory, | 241 bool in_memory, |
| 237 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 242 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 238 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; | 243 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; |
| 239 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; | 244 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; |
| 240 virtual std::wstring GetName(); | 245 virtual std::wstring GetName(); |
| 241 virtual void SetName(const std::wstring& name) {} | 246 virtual void SetName(const std::wstring& name) {} |
| 242 virtual std::wstring GetID(); | 247 virtual std::wstring GetID(); |
| 243 virtual void SetID(const std::wstring& id); | 248 virtual void SetID(const std::wstring& id); |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 | 350 |
| 346 scoped_ptr<content::MockResourceContext> resource_context_; | 351 scoped_ptr<content::MockResourceContext> resource_context_; |
| 347 | 352 |
| 348 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; | 353 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; |
| 349 | 354 |
| 350 // Weak pointer to a delegate for indicating that a profile was created. | 355 // Weak pointer to a delegate for indicating that a profile was created. |
| 351 Delegate* delegate_; | 356 Delegate* delegate_; |
| 352 }; | 357 }; |
| 353 | 358 |
| 354 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 359 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |