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

Side by Side Diff: content/shell/browser/shell_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: 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 30 matching lines...) Expand all
41 int renderer_child_id) OVERRIDE; 41 int renderer_child_id) OVERRIDE;
42 virtual net::URLRequestContextGetter* 42 virtual net::URLRequestContextGetter*
43 GetMediaRequestContextForStoragePartition( 43 GetMediaRequestContextForStoragePartition(
44 const base::FilePath& partition_path, 44 const base::FilePath& partition_path,
45 bool in_memory) OVERRIDE; 45 bool in_memory) OVERRIDE;
46 virtual void RequestMidiSysExPermission( 46 virtual void RequestMidiSysExPermission(
47 int render_process_id, 47 int render_process_id,
48 int render_view_id, 48 int render_view_id,
49 int bridge_id, 49 int bridge_id,
50 const GURL& requesting_frame, 50 const GURL& requesting_frame,
51 bool user_gesture,
51 const MidiSysExPermissionCallback& callback) OVERRIDE; 52 const MidiSysExPermissionCallback& callback) OVERRIDE;
52 virtual void CancelMidiSysExPermissionRequest( 53 virtual void CancelMidiSysExPermissionRequest(
53 int render_process_id, 54 int render_process_id,
54 int render_view_id, 55 int render_view_id,
55 int bridge_id, 56 int bridge_id,
56 const GURL& requesting_frame) OVERRIDE; 57 const GURL& requesting_frame) OVERRIDE;
57 virtual void RequestProtectedMediaIdentifierPermission( 58 virtual void RequestProtectedMediaIdentifierPermission(
58 int render_process_id, 59 int render_process_id,
59 int render_view_id, 60 int render_view_id,
60 int bridge_id, 61 int bridge_id,
(...skipping 28 matching lines...) Expand all
89 scoped_ptr<ShellResourceContext> resource_context_; 90 scoped_ptr<ShellResourceContext> resource_context_;
90 scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_; 91 scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_;
91 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; 92 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_;
92 93
93 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); 94 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext);
94 }; 95 };
95 96
96 } // namespace content 97 } // namespace content
97 98
98 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ 99 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698