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

Unified Diff: content/browser/download/download_manager_impl_unittest.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 side-by-side diff with in-line comments
Download patch
Index: content/browser/download/download_manager_impl_unittest.cc
diff --git a/content/browser/download/download_manager_impl_unittest.cc b/content/browser/download/download_manager_impl_unittest.cc
index 5bc237b2e195f209c6fea42563a06e44ff4f1a93..5ab23a8b165cf9218a350ecaafc795826050f153 100644
--- a/content/browser/download/download_manager_impl_unittest.cc
+++ b/content/browser/download/download_manager_impl_unittest.cc
@@ -406,11 +406,12 @@ class MockBrowserContext : public BrowserContext {
MOCK_METHOD2(GetMediaRequestContextForStoragePartition,
net::URLRequestContextGetter*(
const base::FilePath& partition_path, bool in_memory));
- MOCK_METHOD5(RequestMidiSysExPermission,
+ MOCK_METHOD6(RequestMidiSysExPermission,
void(int render_process_id,
int render_view_id,
int bridge_id,
const GURL& requesting_frame,
+ bool user_gesture,
const MidiSysExPermissionCallback& callback));
MOCK_METHOD4(CancelMidiSysExPermissionRequest,
void(int render_process_id,
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | content/browser/renderer_host/media/media_stream_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698