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

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

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
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 #include "chrome/test/base/testing_profile.h" 5 #include "chrome/test/base/testing_profile.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 const base::FilePath& partition_path, 732 const base::FilePath& partition_path,
733 bool in_memory) { 733 bool in_memory) {
734 return NULL; 734 return NULL;
735 } 735 }
736 736
737 void TestingProfile::RequestMidiSysExPermission( 737 void TestingProfile::RequestMidiSysExPermission(
738 int render_process_id, 738 int render_process_id,
739 int render_view_id, 739 int render_view_id,
740 int bridge_id, 740 int bridge_id,
741 const GURL& requesting_frame, 741 const GURL& requesting_frame,
742 bool user_gesture,
742 const MidiSysExPermissionCallback& callback) { 743 const MidiSysExPermissionCallback& callback) {
743 // Always reject requests for testing. 744 // Always reject requests for testing.
744 callback.Run(false); 745 callback.Run(false);
745 } 746 }
746 747
747 void TestingProfile::CancelMidiSysExPermissionRequest( 748 void TestingProfile::CancelMidiSysExPermissionRequest(
748 int render_process_id, 749 int render_process_id,
749 int render_view_id, 750 int render_view_id,
750 int bridge_id, 751 int bridge_id,
751 const GURL& requesting_frame) { 752 const GURL& requesting_frame) {
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 path_, 958 path_,
958 delegate_, 959 delegate_,
959 extension_policy_, 960 extension_policy_,
960 pref_service_.Pass(), 961 pref_service_.Pass(),
961 incognito_, 962 incognito_,
962 guest_session_, 963 guest_session_,
963 managed_user_id_, 964 managed_user_id_,
964 policy_service_.Pass(), 965 policy_service_.Pass(),
965 testing_factories_)); 966 testing_factories_));
966 } 967 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | content/browser/download/download_manager_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698