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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 GetRequestContextForExtensions() OVERRIDE; | 271 GetRequestContextForExtensions() OVERRIDE; |
272 virtual net::URLRequestContextGetter* | 272 virtual net::URLRequestContextGetter* |
273 GetMediaRequestContextForStoragePartition( | 273 GetMediaRequestContextForStoragePartition( |
274 const base::FilePath& partition_path, | 274 const base::FilePath& partition_path, |
275 bool in_memory) OVERRIDE; | 275 bool in_memory) OVERRIDE; |
276 virtual void RequestMidiSysExPermission( | 276 virtual void RequestMidiSysExPermission( |
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 bool user_gesture, |
281 const MidiSysExPermissionCallback& callback) OVERRIDE; | 282 const MidiSysExPermissionCallback& callback) OVERRIDE; |
282 virtual void CancelMidiSysExPermissionRequest( | 283 virtual void CancelMidiSysExPermissionRequest( |
283 int render_process_id, | 284 int render_process_id, |
284 int render_view_id, | 285 int render_view_id, |
285 int bridge_id, | 286 int bridge_id, |
286 const GURL& requesting_frame) OVERRIDE; | 287 const GURL& requesting_frame) OVERRIDE; |
287 virtual void RequestProtectedMediaIdentifierPermission( | 288 virtual void RequestProtectedMediaIdentifierPermission( |
288 int render_process_id, | 289 int render_process_id, |
289 int render_view_id, | 290 int render_view_id, |
290 int bridge_id, | 291 int bridge_id, |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 | 424 |
424 // Weak pointer to a delegate for indicating that a profile was created. | 425 // Weak pointer to a delegate for indicating that a profile was created. |
425 Delegate* delegate_; | 426 Delegate* delegate_; |
426 | 427 |
427 std::string profile_name_; | 428 std::string profile_name_; |
428 | 429 |
429 scoped_ptr<policy::PolicyService> policy_service_; | 430 scoped_ptr<policy::PolicyService> policy_service_; |
430 }; | 431 }; |
431 | 432 |
432 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 433 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |