Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: chrome/test/base/testing_profile.h

Issue 185863003: [Media] Add user gesture reporting for API calls to midi and media streams. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try 2 Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698