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

Side by Side Diff: android_webview/browser/aw_browser_context.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 | « no previous file | android_webview/browser/aw_browser_context.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 ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "android_webview/browser/aw_download_manager_delegate.h" 10 #include "android_webview/browser/aw_download_manager_delegate.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 86 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
87 int renderer_child_id) OVERRIDE; 87 int renderer_child_id) OVERRIDE;
88 virtual net::URLRequestContextGetter* 88 virtual net::URLRequestContextGetter*
89 GetMediaRequestContextForStoragePartition( 89 GetMediaRequestContextForStoragePartition(
90 const base::FilePath& partition_path, bool in_memory) OVERRIDE; 90 const base::FilePath& partition_path, bool in_memory) OVERRIDE;
91 virtual void RequestMidiSysExPermission( 91 virtual void RequestMidiSysExPermission(
92 int render_process_id, 92 int render_process_id,
93 int render_view_id, 93 int render_view_id,
94 int bridge_id, 94 int bridge_id,
95 const GURL& requesting_frame, 95 const GURL& requesting_frame,
96 bool user_gesture,
96 const MidiSysExPermissionCallback& callback) OVERRIDE; 97 const MidiSysExPermissionCallback& callback) OVERRIDE;
97 virtual void CancelMidiSysExPermissionRequest( 98 virtual void CancelMidiSysExPermissionRequest(
98 int render_process_id, 99 int render_process_id,
99 int render_view_id, 100 int render_view_id,
100 int bridge_id, 101 int bridge_id,
101 const GURL& requesting_frame) OVERRIDE; 102 const GURL& requesting_frame) OVERRIDE;
102 virtual void RequestProtectedMediaIdentifierPermission( 103 virtual void RequestProtectedMediaIdentifierPermission(
103 int render_process_id, 104 int render_process_id,
104 int render_view_id, 105 int render_view_id,
105 int bridge_id, 106 int bridge_id,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 scoped_ptr<content::ResourceContext> resource_context_; 138 scoped_ptr<content::ResourceContext> resource_context_;
138 139
139 scoped_ptr<PrefService> user_pref_service_; 140 scoped_ptr<PrefService> user_pref_service_;
140 141
141 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); 142 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
142 }; 143 };
143 144
144 } // namespace android_webview 145 } // namespace android_webview
145 146
146 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 147 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698