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

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: Fix test merge 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
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698