| 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 int render_process_id, | 277 int render_process_id, |
| 278 int render_view_id, | 278 int render_view_id, |
| 279 int bridge_id, | 279 int bridge_id, |
| 280 const GURL& requesting_frame, | 280 const GURL& requesting_frame, |
| 281 const MIDISysExPermissionCallback& callback) OVERRIDE; | 281 const MIDISysExPermissionCallback& callback) OVERRIDE; |
| 282 virtual void CancelMIDISysExPermissionRequest( | 282 virtual void CancelMIDISysExPermissionRequest( |
| 283 int render_process_id, | 283 int render_process_id, |
| 284 int render_view_id, | 284 int render_view_id, |
| 285 int bridge_id, | 285 int bridge_id, |
| 286 const GURL& requesting_frame) OVERRIDE; | 286 const GURL& requesting_frame) OVERRIDE; |
| 287 virtual void RequestProtectedMediaIdentifierPermission( |
| 288 int render_process_id, |
| 289 int render_view_id, |
| 290 int bridge_id, |
| 291 int group_id, |
| 292 const GURL& requesting_frame, |
| 293 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; |
| 294 virtual void CancelProtectedMediaIdentifierPermissionRequests( |
| 295 int group_id) OVERRIDE; |
| 287 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 296 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 288 const base::FilePath& partition_path, | 297 const base::FilePath& partition_path, |
| 289 bool in_memory, | 298 bool in_memory, |
| 290 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 299 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 291 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; | 300 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; |
| 292 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; | 301 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; |
| 293 virtual std::wstring GetName(); | 302 virtual std::wstring GetName(); |
| 294 virtual void SetName(const std::wstring& name) {} | 303 virtual void SetName(const std::wstring& name) {} |
| 295 virtual std::wstring GetID(); | 304 virtual std::wstring GetID(); |
| 296 virtual void SetID(const std::wstring& id); | 305 virtual void SetID(const std::wstring& id); |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 | 423 |
| 415 // Weak pointer to a delegate for indicating that a profile was created. | 424 // Weak pointer to a delegate for indicating that a profile was created. |
| 416 Delegate* delegate_; | 425 Delegate* delegate_; |
| 417 | 426 |
| 418 std::string profile_name_; | 427 std::string profile_name_; |
| 419 | 428 |
| 420 scoped_ptr<policy::PolicyService> policy_service_; | 429 scoped_ptr<policy::PolicyService> policy_service_; |
| 421 }; | 430 }; |
| 422 | 431 |
| 423 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 432 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
| OLD | NEW |