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