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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 int renderer_child_id) OVERRIDE; | 256 int renderer_child_id) OVERRIDE; |
257 virtual net::URLRequestContextGetter* | 257 virtual net::URLRequestContextGetter* |
258 GetRequestContextForExtensions() OVERRIDE; | 258 GetRequestContextForExtensions() OVERRIDE; |
259 virtual net::URLRequestContextGetter* | 259 virtual net::URLRequestContextGetter* |
260 GetMediaRequestContextForStoragePartition( | 260 GetMediaRequestContextForStoragePartition( |
261 const base::FilePath& partition_path, | 261 const base::FilePath& partition_path, |
262 bool in_memory) OVERRIDE; | 262 bool in_memory) OVERRIDE; |
263 virtual void RequestMIDISysExPermission( | 263 virtual void RequestMIDISysExPermission( |
264 int render_process_id, | 264 int render_process_id, |
265 int render_view_id, | 265 int render_view_id, |
| 266 int bridge_id, |
266 const GURL& requesting_frame, | 267 const GURL& requesting_frame, |
267 const MIDISysExPermissionCallback& callback) OVERRIDE; | 268 const MIDISysExPermissionCallback& callback) OVERRIDE; |
| 269 virtual void CancelMIDISysExPermissionRequest( |
| 270 int render_process_id, |
| 271 int render_view_id, |
| 272 int bridge_id, |
| 273 const GURL& requesting_frame) OVERRIDE; |
268 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 274 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
269 const base::FilePath& partition_path, | 275 const base::FilePath& partition_path, |
270 bool in_memory, | 276 bool in_memory, |
271 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 277 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
272 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; | 278 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; |
273 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; | 279 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; |
274 virtual std::wstring GetName(); | 280 virtual std::wstring GetName(); |
275 virtual void SetName(const std::wstring& name) {} | 281 virtual void SetName(const std::wstring& name) {} |
276 virtual std::wstring GetID(); | 282 virtual std::wstring GetID(); |
277 virtual void SetID(const std::wstring& id); | 283 virtual void SetID(const std::wstring& id); |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 | 395 |
390 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; | 396 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; |
391 | 397 |
392 // Weak pointer to a delegate for indicating that a profile was created. | 398 // Weak pointer to a delegate for indicating that a profile was created. |
393 Delegate* delegate_; | 399 Delegate* delegate_; |
394 | 400 |
395 std::string profile_name_; | 401 std::string profile_name_; |
396 }; | 402 }; |
397 | 403 |
398 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 404 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |